students/Manage.aspx
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Manage.aspx.cs" Inherits="students_Manage" Title="" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<td>
<table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
<tr>
<td align="center" class="tdbg">
<strong> 所属班级</strong><asp:DropDownList ID="ddlcid" runat="server" Width="200">
</asp:DropDownList>
<strong> 学号:</strong><asp:TextBox ID="txt_sno" runat="server" width="200"></asp:TextBox>
<strong> 登陆名:</strong><asp:TextBox ID="txt_lname" runat="server" width="200"></asp:TextBox>
<strong> 姓名:</strong><asp:TextBox ID="txt_sname" runat="server" width="200"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" ></asp:Button>
</td>
</tr>
</table>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="sno" Width="100%" AllowPaging="True" GridLines="None" onpageindexchanging="GridView1_PageIndexChanging" >
<RowStyle Height="25px" HorizontalAlign="Center" />
<Columns>
<asp:TemplateField ControlStyle-Width="30" HeaderText="选择" >
<ItemTemplate>
<asp:CheckBox ID="DeleteThis" runat="server" />
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:BoundField HeaderText="学号" DataField="sno" />
<asp:BoundField HeaderText="密码" DataField="pwd" />
<asp:BoundField HeaderText="姓名" DataField="sname" />
<asp:BoundField HeaderText="性别" DataField="sex" />
<asp:BoundField HeaderText="所属班级" DataField="cname" />
<asp:BoundField HeaderText="辅导员" DataField="tname" />
<asp:BoundField HeaderText="专业" DataField="specialty" />
<asp:BoundField HeaderText="注册时间" DataField="rtime" />
<asp:HyperLinkField DataNavigateUrlFormatString="Detail.aspx?id={0}" DataNavigateUrlFields="sno" HeaderText="详细" Text="详细" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
<asp:HyperLinkField DataNavigateUrlFormatString="Modify.aspx?id={0}" DataNavigateUrlFields="sno" HeaderText="编辑" Text="编辑" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
</Columns>
<HeaderStyle Height="27px" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
<table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
<tr>
<td align="left">
<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>
</td>
</tr>
</table>
</td>
后面还有 2 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
