📄 homesunhaiinfo.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="homesunhaiinfo.aspx.cs" Inherits="homesunhaiinfo" Title="学生寝室管理系统->损坏记录" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" height="136" style="width: 968px; font-size: 14px;">
<tr>
<td colspan="2" nowrap="nowrap" style="height: 21px">
<div align="center" style="font-weight: bold; font-size: 15px; color: black">
学生寝室管理系统->损坏记录</div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 393px; height: 20px">
<div align="right">
学号:</div>
</td>
<td style="height: 20px">
<div align="left">
<asp:TextBox ID="txtuserid" runat="server" ReadOnly="True"></asp:TextBox>
<asp:Label ID="Label1" runat="server" ForeColor="Red" Style="font-size: 15px" Text="不能修改"></asp:Label></div>
</td>
</tr>
<tr>
<td style="width: 393px; height: 7px;">
<div align="right">
姓名:</div>
</td>
<td style="height: 7px">
<div align="left">
<asp:TextBox ID="txtusername" runat="server" ReadOnly="True"></asp:TextBox>
<asp:Label ID="Label2" runat="server" ForeColor="Red" Style="font-size: 15px" Text="不能修改"></asp:Label></div>
</td>
</tr>
<tr>
<td style="width: 393px; height: 5px">
<div align="right">
几栋</div>
</td>
<td style="height: 5px" align="left">
<asp:DropDownList ID="ddlhomeflood" runat="server">
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" style="width: 393px; height: 5px">
寝室类别:</td>
<td align="left" style="height: 5px">
<asp:DropDownList ID="ddlhomesex" runat="server" Style="font-weight: normal; color: black">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>男生</asp:ListItem>
<asp:ListItem>女生</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" style="width: 393px; height: 14px">
寝室号:</td>
<td align="left" style="height: 14px">
<asp:TextBox ID="txthomehao" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txthomehao"
ErrorMessage="RequiredFieldValidator">"寝室号"不能为空</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="width: 393px; height: 14px">
几人间</td>
<td align="left" style="height: 14px">
<asp:DropDownList ID="ddlhomecount" runat="server">
<asp:ListItem Selected="True"> 请选择</asp:ListItem>
<asp:ListItem>4人</asp:ListItem>
<asp:ListItem>6人</asp:ListItem>
<asp:ListItem>8人</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" style="width: 393px; height: 14px">
寝室电话号码:</td>
<td align="left" style="height: 14px">
<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="right" style="width: 393px;" rowspan="2">
内容:</td>
<td align="left" style="height: 19px">
<asp:TextBox ID="txtcontent" runat="server" Height="99px" TextMode="MultiLine" Width="215px"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtcontent"
ErrorMessage="RequiredFieldValidator" Display="Dynamic">"内容"要输入哦!</asp:RequiredFieldValidator><asp:CustomValidator
ID="CustomValidator1" runat="server" ControlToValidate="txtcontent" ErrorMessage="CustomValidator"
OnServerValidate="CustomValidator1_ServerValidate" Display="Dynamic">该内容已经存在了</asp:CustomValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtcontent"
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{10,50}">输入的内容必须在(10-50)之间</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="left" style="height: 21px">
(输入的内容必须在(10-50)字之间)</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Label ID="Label3" runat="server" ForeColor="Red" Style="font-weight: bold"></asp:Label></td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="Button1" runat="server" BackColor="White" Height="24px" Style="font-weight: bold;
font-size: 15px" Text="提交" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" BackColor="White" Height="23px" Style="font-weight: bold;
font-size: 15px" Text="重置" CausesValidation="False" OnClick="Button2_Click" /></td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -