📄 studentxz.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StudentXZ.aspx.cs" Inherits="StudentXZ" %>
<!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 id="Head1" runat="server">
<title>无标题页</title>
<style type="text/css">
<!--
.STYLE1 {font-family: "方正姚体"}
.STYLE3 {
font-family: "方正姚体";
font-size: 18px;
color: #009999;
}
body {
background-image: url(Images/back1.gif);
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #339900;
}
a:active {
text-decoration: none;
color: #F5F8F9;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body style="text-align: center">
<form id="Form1" name="form1" runat="server">
<table width="800" height="800" border="1" cellspacing="0">
<tr>
<th colspan="2" scope="col" style="width: 800px; height: 150px;"><img src="Images/title.jpg" width="800" height="150" /></th>
</tr>
<tr bgcolor="#33ccff">
<th colspan="2" scope="row" style="font-weight: bold; width: 800px; height: 30px;
text-align: left; background-color: #ffffff;">
<asp:SiteMapPath ID="SiteMapPath1" runat="server" Width="400px">
</asp:SiteMapPath>
</th>
</tr>
<tr bgcolor="#33CCFF">
<th colspan="1" scope="row" style="text-align: left; font-weight: bold; height: 30px; width: 700px;">
<asp:Label ID="Label1" runat="server" ForeColor="White" Style="position: relative;" Width="60px"></asp:Label>
<span style="color: #ffffff">同学,欢迎来到物理实验选课网!</span></th>
<th colspan="1" scope="row" style="text-align: right; font-weight: bold; height: 30px; width: 100px;">
<a href="Default.aspx"> <span style="font-size: 10pt; color: #ffffff; font-family: 宋体; text-decoration: underline">退出</span></a></th>
</tr>
<tr bgcolor="#33ccff">
<th colspan="2" scope="row" style="font-weight: bold; width: 800px; height: 30px;
background-color: #ffffff; text-align: left">
<asp:Label ID="Label2" runat="server" Style="position: relative" Width="400px"></asp:Label></th>
</tr>
<tr>
<th align="center" background="Images/FangKuai.gif" colspan="2" rowspan="1" scope="row"
style="width: 800px; height: 480px; text-align: center" valign="top">
<div align="left"></div>
<p>
<asp:GridView ID="myGridView" runat="server" CellPadding="4" ForeColor="#333333"
GridLines="None" Height="250px" Style="left: 2px; position: relative; top: 50px;" Width="750px" AutoGenerateColumns="False" OnRowCancelingEdit="myGridView_RowCancelingEdit" OnRowEditing="myGridView_RowEditing" OnRowUpdating="myGridView_RowUpdating" AllowPaging="True" OnRowCommand="myGridView_RowCommand" OnSelectedIndexChanged="PageCut_Click">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
<columns>
<asp:BoundField DataField="enumber" HeaderText="实验号" />
<asp:BoundField DataField="ename" HeaderText="实验名称" />
<asp:BoundField DataField="edate" HeaderText="实验时间" />
<asp:BoundField DataField="eaddress" HeaderText="实验地点" />
<asp:BoundField DataField="echarger" HeaderText="实验教师" />
<asp:BoundField DataField="total" HeaderText="实验人数" />
<asp:BoundField DataField="selected" HeaderText="已选人数" />
<asp:CommandField ShowSelectButton="True" HeaderText="选课" />
</columns>
<PagerTemplate>
<asp:LinkButton ID="PageFirst" Text="首页" CommandArgument="First" CommandName="Page"
OnClick="PageCut_Click" runat="server"></asp:LinkButton>
<asp:LinkButton ID="PagePre" runat="server" CommandArgument="Prev"
OnClick="PageCut_Click" Text="上一页"></asp:LinkButton>
<asp:LinkButton ID="PageNext" runat="server" CommandArgument="Next"
OnClick="PageCut_Click" Text="下一页"></asp:LinkButton>
<asp:LinkButton ID="PageLast" runat="server" CommandArgument="Last"
OnClick="PageCut_Click" Text="尾页"></asp:LinkButton>
</PagerTemplate>
</asp:GridView>
</p>
</th>
</tr>
<tr>
</tr>
<tr>
<th colspan="2" scope="row" style="background-image: url(Images/back2.gif); width: 800px; height: 80px"> </th>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -