📄 regl.ascx
字号:
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 9px">
入学时间:</td>
<td align="left" colspan="2" style="width: 545px; height: 9px"><asp:DropDownList ID="DropDownList1" runat="server" style="font-weight: normal; color: black;">
</asp:DropDownList>
年<asp:DropDownList ID="DropDownList2" runat="server" OnSelectedIndexChanged="ddlmonth_SelectedIndexChanged" style="font-weight: normal; color: black;" EnableTheming="True">
</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">
所属系别名称:</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">
所学专业名称:</td>
<td align="left" colspan="2" style="width: 545px; height: 9px">
<asp:DropDownList ID="ddlzhuanye" runat="server">
</asp:DropDownList></td>
</tr>
<tr style="color: #000000">
<td align="right" colspan="2" style="height: 8px">
所在班级名称:</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">
:指导老师姓名:</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: 25px; background-color: #000000">
<asp:Button ID="Button1" runat="server" Text="下一步" OnClick="Button1_Click" style="font-weight: bold; color: black; background-color: #ffffff;" BackColor="#F18DC1" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="615px" Visible="False">
<table id="Table2" language="javascript" onclick="return TABLE1_onclick()" style="border-right: white;
border-top: white; border-left: white; width: 677px; cursor: hand;
border-bottom: white; height: 198px; background-color: transparent; font-weight: normal; font-size: 14px;">
<tr>
<td align="left" colspan="4" style="font-weight: bold; font-size: 15px; color: white;
height: 10px; background-color: #000000">
宿舍信息填写</td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px; width: 195px;">
宿舍类别:</td>
<td align="left" colspan="2" style="width: 545px; height: 23px">
<asp:DropDownList ID="ddlhomesex" runat="server" style="font-weight: bold;" >
<asp:ListItem>请选择</asp:ListItem>
<asp:ListItem>男生</asp:ListItem>
<asp:ListItem>女生</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 3px; width: 195px;">
住第几栋楼:</td>
<td align="left" colspan="2" style="width: 545px; height: 3px">
<asp:DropDownList ID="ddlhomeflood" runat="server" DataSourceID="SqlDataSource1"
DataTextField="home" DataValueField="home">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" 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="height: 6px; width: 195px;">
宿舍号码:</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"
ErrorMessage="宿舍号码要填写" Display="Dynamic"></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="height: 1px; width: 195px;">
几人间宿舍:</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="height: 21px; width: 195px;">
宿舍电话号码:</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"
ErrorMessage="宿舍电话不能为空" Display="Dynamic"></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="right" colspan="2" style="height: 21px; width: 195px;">
是/否同班同学住一起:</td>
<td align="left" colspan="2" style="width: 545px; height: 21px">
<asp:DropDownList ID="DropDownList4" runat="server">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>是</asp:ListItem>
<asp:ListItem Value="否"></asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="center" colspan="4" style="height: 25px; background-color: #000000;">
<asp:Button ID="Button3" runat="server" Text="下一步" OnClick="Button3_Click" style="font-weight: bold; background-color: #ffffff;" BackColor="#F18DC1" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" Height="50px" Visible="False" Width="674px" style="font-weight: bold; font-size: 14px; color: black">
恭喜!尊敬的
<asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 16px;
color: red" Text="Label"></asp:Label>
同学,您已经填写完毕,谢谢合作!<br />
<asp:Button ID="Button4" runat="server" PostBackUrl="~/index.aspx" Text="返回主页" style="font-weight: bold; background-color: #ffffff" /></asp:Panel>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -