|
|
@ -9,6 +9,16 @@ |
|
|
|
.auto-style1 { |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
.auto-style2 { |
|
|
|
height: 30px; |
|
|
|
} |
|
|
|
.auto-style3 { |
|
|
|
width: 284px; |
|
|
|
} |
|
|
|
.auto-style4 { |
|
|
|
height: 30px; |
|
|
|
width: 284px; |
|
|
|
} |
|
|
|
</style> |
|
|
|
</head> |
|
|
|
<body> |
|
|
@ -27,19 +37,20 @@ |
|
|
|
</div> |
|
|
|
<table align="center" class="auto-style1"> |
|
|
|
<tr> |
|
|
|
<td class="auto-style3"> |
|
|
|
Source Positional System</td> |
|
|
|
<td> |
|
|
|
Target Positional System</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td class="auto-style4"> |
|
|
|
<asp:DropDownList ID="ddlSourcePosNum" runat="server"> |
|
|
|
<asp:ListItem Value="0">Select An Option</asp:ListItem> |
|
|
|
<asp:ListItem Value="1">Decimal</asp:ListItem> |
|
|
|
<asp:ListItem Value="2">Binary</asp:ListItem> |
|
|
|
<asp:ListItem Value="3">Octal</asp:ListItem> |
|
|
|
<asp:ListItem Value="4">Hexadecimal</asp:ListItem> |
|
|
|
</asp:DropDownList> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<asp:Label ID="Label1" runat="server" Text="Convert to"></asp:Label> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<td class="auto-style2"> |
|
|
|
<asp:DropDownList ID="ddlTargetPosNum" runat="server"> |
|
|
|
<asp:ListItem Value="0">Select An Option</asp:ListItem> |
|
|
|
<asp:ListItem Value="1">Decimal</asp:ListItem> |
|
|
@ -50,28 +61,21 @@ |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td class="auto-style4"> |
|
|
|
<asp:TextBox ID="txtInput" runat="server"></asp:TextBox> |
|
|
|
</td> |
|
|
|
<td> </td> |
|
|
|
<td> |
|
|
|
<td class="auto-style2"> |
|
|
|
<asp:Label ID="lblResult" runat="server" BorderStyle="Double"></asp:Label> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td class="auto-style3"> |
|
|
|
<asp:Button ID="btnConvert" runat="server" OnClick="btnConvert_Click" Text="Convert" /> |
|
|
|
</td> |
|
|
|
<td> </td> |
|
|
|
<td> |
|
|
|
<asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click" Text="Clear" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> </td> |
|
|
|
<td> </td> |
|
|
|
<td> </td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</form> |
|
|
|
</body> |
|
|
|