homeadminStudadd.aspx
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/homeAdmin.master" AutoEventWireup="true" CodeFile="homeadminStudadd.aspx.cs" Inherits="adminAddstud" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 778px; height: 350px" border="1">
<tr>
<td colspan="2" style="height: 246px">
<div align="center">
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<TABLE style="WIDTH: 506px; HEIGHT: 289px" borderColor=#000000 cellSpacing=0 cellPadding=0 border=1><TBODY><TR><TD style="WIDTH: 208px" align=right>院系:</TD><TD style="WIDTH: 335px" align=left>
<asp:DropDownList id="ddlDept" runat="server" Width="120px" AutoPostBack="True"
DataSourceID="SqlDataSource1" DataTextField="deptName" DataValueField="deptID"
Height="15px"></asp:DropDownList></TD></TR><TR><TD style="WIDTH: 208px" align=right>班级:</TD><TD style="WIDTH: 335px" align=left>
<asp:DropDownList id="ddlClass" runat="server" Width="120px"
DataSourceID="SqlDataSource2" DataTextField="classID" DataValueField="classID"
Height="15px"></asp:DropDownList></TD></TR><TR><TD style="WIDTH: 208px" align=right>学号:</TD><TD style="WIDTH: 335px" align=left>
<asp:TextBox id="studNo" runat="server" Width="120px" Height="15px"></asp:TextBox> <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="学号不可为空!" ControlToValidate="studNo"></asp:RequiredFieldValidator></TD></TR><TR><TD style="WIDTH: 208px" align=right>姓名:</TD><TD style="WIDTH: 335px" align=left>
<asp:TextBox id="studName" runat="server" Width="120px" Height="15px"></asp:TextBox></TD></TR><TR><TD style="WIDTH: 208px" align=right>性别:</TD><TD style="WIDTH: 335px" align=left><asp:DropDownList id="ddlSex" runat="server" Width="62px"><asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:DropDownList></TD></TR><TR><TD style="WIDTH: 208px" align=right>出生年月:</TD><TD style="WIDTH: 335px" align=left>
<asp:TextBox id="birthday" runat="server" Width="120px" Height="15px"></asp:TextBox> (如2000-01-01)</TD></TR><TR><TD style="WIDTH: 208px" align=right>入学时间:</TD><TD style="WIDTH: 335px" align=left>
<asp:TextBox id="enterDate" runat="server" Width="120px" Height="15px"></asp:TextBox></TD></TR></TBODY></TABLE>
</contenttemplate>
</asp:UpdatePanel>
<asp:UpdatePanel id="UpdatePanel2" runat="server">
<contenttemplate>
<TABLE style="WIDTH: 506px; HEIGHT: 172px" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000"><TBODY><TR><TD style="WIDTH: 200px" align=right>区域:</TD><TD style="WIDTH: 335px" align=left>
<asp:DropDownList id="ddlEare" runat="server" DataValueField="eareID"
DataTextField="eareName" DataSourceID="SqlDataSource3" AutoPostBack="True"
Width="114px" Height="17px"></asp:DropDownList></TD></TR><TR><TD style="WIDTH: 200px" align=right>楼栋:</TD><TD style="WIDTH: 335px" align=left>
<asp:DropDownList id="ddlFlood" runat="server" DataValueField="floodID"
DataTextField="floodName" DataSourceID="SqlDataSource4" Width="111px"></asp:DropDownList></TD></TR><TR><TD style="WIDTH: 200px" align=right>寝室号:</TD><TD style="WIDTH: 335px" align=left>
<asp:TextBox id="homeHao" runat="server" Width="106px" Height="16px"></asp:TextBox></TD></TR><TR><TD style="WIDTH: 200px" align=right>身份:</TD><TD style="WIDTH: 335px" align=left>
<asp:DropDownList id="ddlShenfen" runat="server" Width="111px"><asp:ListItem>普通室员</asp:ListItem>
<asp:ListItem>寝室长</asp:ListItem>
</asp:DropDownList></TD></TR></TBODY></TABLE>
</contenttemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="height: 25px">
<div align="center">
<asp:Button ID="btn_OK" runat="server" Text="确 定" OnClick="btn_OK_Click" />
<asp:Button ID="btn_cancel" runat="server" Text="取 消" OnClick="btn_cancel_Click" /></div>
</td>
</tr>
<tr>
<td colspan="2" style="height: 74px">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:studHomeConnectionString %>"
SelectCommand="SELECT DISTINCT [deptID], [deptName] FROM [dept] ORDER BY [deptID]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:studHomeConnectionString %>"
SelectCommand="SELECT DISTINCT [classID], [deptID] FROM [class] WHERE ([deptID] = @deptID) ORDER BY [classID]">
<SelectParameters>
<asp:ControlParameter ControlID="ddlDept" Name="deptID" PropertyName="SelectedValue"
后面还有 18 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。