📄 webform1.aspx
字号:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="kqxt.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table5" style="Z-INDEX: 101; LEFT: 8px; WIDTH: 800px; POSITION: absolute; TOP: 8px; HEIGHT: 375px"
cellSpacing="1" cellPadding="1" width="800" border="0">
<TR>
<TD>
<asp:label id="Label5" runat="server" Font-Size="X-Small">请输入时间段:</asp:label>
<asp:label id="Label3" runat="server" Font-Size="X-Small">年:</asp:label>
<asp:textbox id="year1" runat="server" Width="72px"></asp:textbox>
<asp:label id="Label4" runat="server" Font-Size="X-Small">月:</asp:label>
<asp:dropdownlist id="dropMonth1" runat="server">
<asp:ListItem Value="一月">一月</asp:ListItem>
<asp:ListItem Value="二月">二月</asp:ListItem>
<asp:ListItem Value="三月">三月</asp:ListItem>
<asp:ListItem Value="四月">四月</asp:ListItem>
<asp:ListItem Value="五月">五月</asp:ListItem>
<asp:ListItem Value="六月">六月</asp:ListItem>
<asp:ListItem Value="七月">七月</asp:ListItem>
<asp:ListItem Value="八月">八月</asp:ListItem>
<asp:ListItem Value="九月">九月</asp:ListItem>
<asp:ListItem Value="十月">十月</asp:ListItem>
<asp:ListItem Value="十一月">十一月</asp:ListItem>
<asp:ListItem Value="十二月">十二月</asp:ListItem>
</asp:dropdownlist>
<asp:label id="Label6" runat="server" Font-Size="X-Small">日:</asp:label>
<asp:dropdownlist id="dropDay1" runat="server">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
<asp:ListItem Value="13">13</asp:ListItem>
<asp:ListItem Value="14">14</asp:ListItem>
<asp:ListItem Value="15">15</asp:ListItem>
<asp:ListItem Value="16">16</asp:ListItem>
<asp:ListItem Value="17">17</asp:ListItem>
<asp:ListItem Value="18">18</asp:ListItem>
<asp:ListItem Value="19">19</asp:ListItem>
<asp:ListItem Value="20">20</asp:ListItem>
<asp:ListItem Value="21">21</asp:ListItem>
<asp:ListItem Value="22">22</asp:ListItem>
<asp:ListItem Value="23">23</asp:ListItem>
<asp:ListItem Value="24">24</asp:ListItem>
<asp:ListItem Value="25">25</asp:ListItem>
<asp:ListItem Value="26">26</asp:ListItem>
<asp:ListItem Value="27">27</asp:ListItem>
<asp:ListItem Value="28">28</asp:ListItem>
<asp:ListItem Value="29">29</asp:ListItem>
<asp:ListItem Value="30">30</asp:ListItem>
<asp:ListItem Value="31">31</asp:ListItem>
</asp:dropdownlist>
<asp:label id="Label7" runat="server">至</asp:label>
<asp:label id="Label8" runat="server" Font-Size="X-Small">年:</asp:label></FONT>
<asp:textbox id="year2" runat="server" Width="72px"></asp:textbox>
<asp:label id="Label9" runat="server" Font-Size="X-Small">月:</asp:label>
<asp:dropdownlist id="dropMonth2" runat="server">
<asp:ListItem Value="一月">一月</asp:ListItem>
<asp:ListItem Value="二月">二月</asp:ListItem>
<asp:ListItem Value="三月">三月</asp:ListItem>
<asp:ListItem Value="四月">四月</asp:ListItem>
<asp:ListItem Value="五月">五月</asp:ListItem>
<asp:ListItem Value="六月">六月</asp:ListItem>
<asp:ListItem Value="七月">七月</asp:ListItem>
<asp:ListItem Value="八月">八月</asp:ListItem>
<asp:ListItem Value="九月">九月</asp:ListItem>
<asp:ListItem Value="十月">十月</asp:ListItem>
<asp:ListItem Value="十一月">十一月</asp:ListItem>
<asp:ListItem Value="十二月">十二月</asp:ListItem>
</asp:dropdownlist>
<asp:label id="Label10" runat="server" Font-Size="X-Small">日:</asp:label>
<asp:dropdownlist id="dropDay2" runat="server">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
<asp:ListItem Value="13">13</asp:ListItem>
<asp:ListItem Value="14">14</asp:ListItem>
<asp:ListItem Value="15">15</asp:ListItem>
<asp:ListItem Value="16">16</asp:ListItem>
<asp:ListItem Value="17">17</asp:ListItem>
<asp:ListItem Value="18">18</asp:ListItem>
<asp:ListItem Value="19">19</asp:ListItem>
<asp:ListItem Value="20">20</asp:ListItem>
<asp:ListItem Value="21">21</asp:ListItem>
<asp:ListItem Value="22">22</asp:ListItem>
<asp:ListItem Value="23">23</asp:ListItem>
<asp:ListItem Value="24">24</asp:ListItem>
<asp:ListItem Value="25">25</asp:ListItem>
<asp:ListItem Value="26">26</asp:ListItem>
<asp:ListItem Value="27">27</asp:ListItem>
<asp:ListItem Value="28">28</asp:ListItem>
<asp:ListItem Value="29">29</asp:ListItem>
<asp:ListItem Value="30">30</asp:ListItem>
<asp:ListItem Value="31">31</asp:ListItem>
</asp:dropdownlist>
<asp:Button id="Button2" runat="server" Text="查询"></asp:Button>
<asp:label id="message" runat="server" Font-Size="X-Small" ForeColor="Red" Visible="true"></asp:label></FONT></TD>
</TD></TR>
<TR>
<TD><FONT face="宋体">
<asp:DataGrid id="dgdsch" runat="server" Width="761px" AllowCustomPaging="True" AllowPaging="True"
HorizontalAlign="Right" AutoGenerateColumns="False" BorderColor="#999999" BorderStyle="None"
BorderWidth="1px" CellPadding="3" GridLines="Vertical" Height="228px" BackColor="White">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
<ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#000084"></HeaderStyle>
<FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="stuID" HeaderText="学号"></asp:BoundColumn>
<asp:BoundColumn DataField="stuName" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="status" HeaderText="状态"></asp:BoundColumn>
<asp:BoundColumn DataField="courseName" HeaderText="课程"></asp:BoundColumn>
<asp:BoundColumn DataField="dates" HeaderText="时间"></asp:BoundColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" ForeColor="Black"
Position="TopAndBottom" BackColor="#999999"></PagerStyle>
</asp:DataGrid></FONT></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -