?? students.aspx
字號(hào):
?<%@ Page AutoEventWireup="false" Inherits="px.students" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>無(wú)標(biāo)題頁(yè)</title>
<link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
<tbody>
<tr>
<td style="height: 28px">
<a href="#">系統(tǒng)首頁(yè)</a> >> 學(xué)生信息管理</td>
</tr>
</tbody>
</table>
</div>
<br />
<table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
<tbody>
<tr>
<td style="width: 501px">
學(xué)院列表:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
</asp:DropDownList>
入學(xué)年份:<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True">
</asp:DropDownList>
班級(jí)列表:<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True">
</asp:DropDownList></td>
<td>
搜索學(xué)生:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="確定" /></td>
</tr>
</tbody>
</table>
<br />
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackImageUrl="~/images/bg_list.gif" CssClass="tableborder" DataKeyNames="id"
GridLines="None" PageSize="20" Width="100%" AllowSorting="True">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="id" HeaderText="數(shù)據(jù)庫(kù)編號(hào)" ReadOnly="True">
<ControlStyle Width="10%" />
<HeaderStyle Width="10%" />
</asp:BoundField>
<asp:BoundField DataField="class" HeaderText="班級(jí)" />
<asp:BoundField DataField="student_id" HeaderText="學(xué)號(hào)" ReadOnly="True" />
<asp:BoundField DataField="name" HeaderText="真實(shí)姓名" />
<asp:TemplateField HeaderText="性別">
<ItemTemplate><%#xb(Container.DataItem("sex"))%></ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="操作" ShowHeader="False">
<ControlStyle Width="20%" />
<HeaderStyle Width="20%" />
<ItemTemplate>
<a href='editstu.aspx?id=<%#container.dataitem("id") %>'>查看編輯</a>、<a href="delstu.aspx?id=<%#container.dataitem("id") %>" onclick="return confirm('刪除請(qǐng)謹(jǐn)慎操作!')">刪除</a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle BackColor="#EFF3FB" CssClass="altbg2" />
<EmptyDataTemplate>
暫時(shí)沒(méi)有數(shù)據(jù),請(qǐng)先新建。
</EmptyDataTemplate>
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="Black" HorizontalAlign="Center" />
<HeaderStyle CssClass="header" ForeColor="White" Height="30px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -