📄 userinfo.aspx
字号:
Style="font-weight: normal; color: black">
</asp:DropDownList>
月<asp:DropDownList ID="DropDownList3" runat="server" Style="font-weight: normal">
</asp:DropDownList>日</td>
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 9px; width: 194px;">
所属系别名称:</td>
<td align="left" colspan="2" style="width: 545px; height: 9px">
<asp:DropDownList ID="ddlximing" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 9px; width: 194px;">
所学专业名称:</td>
<td align="left" colspan="2" style="width: 545px; height: 9px">
<asp:TextBox ID="txtzhuanye" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtzhuanye" ErrorMessage="所学专业名称不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 8px; width: 194px;">
所在班级名称:</td>
<td align="left" colspan="2" style="width: 545px; height: 8px">
<asp:TextBox ID="txtclassname" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtclassname"
ErrorMessage="所在班级名称必填"></asp:RequiredFieldValidator></td>
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 26px; width: 194px;">
:指导老师姓名:</td>
<td align="left" colspan="2" style="width: 545px; height: 26px">
<asp:TextBox ID="txtteacher" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtteacher" ErrorMessage="指导老师姓名不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="center" colspan="4" style="height: 26px; background-color: #000000">
<asp:Button ID="Button1" runat="server" BackColor="#F18DC1" OnClick="Button1_Click"
Style="font-weight: bold; color: black; background-color: #ffffff" Text="下一步" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="50px" Visible="False" Width="615px">
<table id="Table2" language="javascript" onclick="return TABLE1_onclick()" style="font-weight: normal; width: 677px;
cursor: hand; height: 198px; background-color: transparent; font-size: 14px; border-left-color: white; border-bottom-color: white; border-top-style: none; border-top-color: white; border-right-style: none; border-left-style: none; border-right-color: white; border-bottom-style: none;">
<tr>
<td align="left" colspan="4" style="font-weight: bold; font-size: 16px; color: white;
height: 10px; background-color: #000000">
宿舍信息填写</td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 156px; height: 8px">
宿舍类别:</td>
<td align="left" colspan="2" style="width: 545px; height: 8px">
<asp:DropDownList ID="ddlhomesex" runat="server" Style="font-weight: normal">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>男生</asp:ListItem>
<asp:ListItem>女生</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 156px; height: 3px">
住第几栋楼:</td>
<td align="left" colspan="2" style="width: 545px; height: 3px">
<asp:DropDownList ID="ddlflood" runat="server" DataSourceID="SqlDataSource2"
DataTextField="home" DataValueField="home">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="Data Source=.;Initial Catalog=studenthome;Integrated Security=True"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT DISTINCT [home] FROM [homedetail]">
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 156px; height: 6px">
宿舍号码:</td>
<td align="left" colspan="2" style="width: 545px; height: 6px">
<asp:TextBox ID="txthomehaoma" runat="server"></asp:TextBox>号(*)<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server" ControlToValidate="txthomehaoma"
Display="Dynamic" ErrorMessage="宿舍号码要填写"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator5" runat="server" ControlToValidate="txthomehaoma"
ErrorMessage="请输入3位数的宿舍号码" ValidationExpression="\d{3}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 156px; height: 1px">
几人间宿舍:</td>
<td align="left" colspan="2" style="width: 545px; height: 1px">
<asp:DropDownList ID="ddlhomecount" runat="server" Style="font-weight: bold">
<asp:ListItem>4人</asp:ListItem>
<asp:ListItem>6人</asp:ListItem>
<asp:ListItem>8人</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 156px; height: 21px">
宿舍电话号码:</td>
<td align="left" colspan="2" style="width: 545px; height: 21px">
<asp:TextBox ID="txthomephone" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
ID="RequiredFieldValidator7" runat="server" ControlToValidate="txthomephone"
Display="Dynamic" ErrorMessage="宿舍电话不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server" ControlToValidate="txthomephone"
ErrorMessage="请输入7位或8位的宿舍电话号码" ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="center" colspan="4" style="height: 26px; background-color: #000000">
<asp:Button ID="Button2" runat="server" BackColor="White" Style="font-weight: bold"
Text="上一步" CausesValidation="False" OnClick="Button2_Click1" />
<asp:Button ID="Button3" runat="server" BackColor="White" OnClick="Button3_Click1"
Style="font-weight: bold; color: black" Text="修 改" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" Height="50px" Width="125px" Visible="False">
<table style="width: 574px">
<tr>
<td align="center" style="width: 100px; height: 45px">
<div align="center">
<table border="0" height="60" style="width: 674px">
<tr>
<td nowrap="nowrap" style="height: 5px">
<div align="center">
恭喜,尊敬的<asp:Label ID="Label1" runat="server" Text="Label" style="font-weight: bold; font-size: 15px; color: red"></asp:Label>同学,您已经修改成功了!</div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="height: 11px">
<div align="center" style="text-align: center">
<asp:Button ID="Button4" runat="server" Height="23px" Style="font-weight: bold; font-size: 15px"
Text="返回主页" Width="80px" PostBackUrl="~/userindex.aspx" /></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</asp:Panel>
</div>
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -