62,177
社区成员
发帖
与我相关
我的任务
分享
<table style="width:360px; text-align:left; border-color: #C0C0C0;" border="1">
<tr>
<td>用户名: </td>
<td>
<asp:TextBox ID="tbUserName" runat="server"> </asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="tbUserName" Display="Dynamic" ErrorMessage="用户名不能为空">* </asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>密 码: </td>
<td>
<asp:TextBox ID="tbPwd" runat="server"> </asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="tbPwd" Display="Dynamic" ErrorMessage="密码不能为空">* </asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<asp:Button ID="btnSubmit" runat="server" Text="提交" />
</td>
</tr>
</table>
<table style="width:360px; text-align:left;">
<tr>
<td>用户名: </td>
<td>
<asp:TextBox ID="tbUserName" runat="server"> </asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="tbUserName" Display="Dynamic" ErrorMessage="用户名不能为空">* </asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>密 码: </td>
<td>
<asp:TextBox ID="tbPwd" runat="server"> </asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="tbPwd" Display="Dynamic" ErrorMessage="密码不能为空">* </asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<asp:Button ID="btnSubmit" runat="server" Text="提交" />
</td>
</tr>
</table>