📄 test.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="registe_MaterialRecord" EnableEventValidation="false"
%>
<!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>清单</title>
<link href="../css/sub.css" rel="stylesheet" type="text/css"/>
</head>
<body >
<form id="form1" runat="server">
<div id="content" >
<div><h3><span> 清单</span></h3></div>
<div>
<table style="width: 700px">
<tr>
<td style="height: 17px; text-align: right;" colspan="5">
查询信息显示如下:</td>
</tr>
</table>
<asp:GridView ID="gvtest" runat="server" AutoGenerateColumns="False" Height="0px"
Width="700px" AllowPaging="True" PageSize="5" DataKeyNames="ZhouQH" OnPageIndexChanging="gvtest_PageIndexChanging" OnSorting="GridView1_Sorting" AllowSorting="True">
<Columns>
<asp:templatefield HeaderText="选择">
<HeaderTemplate>
<asp:CheckBox ID="cbxAll" runat="server" OnCheckedChanged="cbxAll_CheckedChanged" Text="全选" AutoPostBack="True" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="cbxCheck" runat="server" />
</ItemTemplate>
<HeaderStyle Width="15%" />
</asp:templatefield>
<asp:BoundField DataField="ZhouQH" Visible="False" />
<asp:BoundField DataField="ZhouQLX" HeaderText="周期类型" SortExpression="ZhouQLX" />
<asp:BoundField DataField="ZhouQ" HeaderText="天数" SortExpression="ZhouQ" />
<asp:BoundField DataField="SheZSJ" HeaderText="设置时间" />
<asp:BoundField DataField="SheZYY" HeaderText="设置原因" ReadOnly="True" />
</Columns>
</asp:GridView>
<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument="First">首页</asp:LinkButton><asp:LinkButton
ID="LinkButton2" runat="server" CommandArgument="Prev">上一页</asp:LinkButton><asp:LinkButton
ID="LinkButton3" runat="server" CommandArgument="Next">下一页</asp:LinkButton><asp:LinkButton
ID="LinkButton4" runat="server" CommandArgument="Last">尾页</asp:LinkButton>
<asp:Panel
ID="PanelMater" runat="server" Height="50px" Width="700px">
<table style="width: 700px">
<tr>
<td style="width: 126px; height: 26px; text-align: right">
材料应交时间:</td>
<td align="left" colspan="3" style="height: 26px; text-align: left">
<asp:TextBox ID="tbxCalendar" runat="server" ReadOnly="True"></asp:TextBox>
<asp:ImageButton ID="ibtnCalendar" runat="server" ImageUrl="~/image/Calendar.gif" OnClick="ibtnCalendar_Click" /></td>
</tr>
<tr>
<td colspan="4" style="height: 26px; text-align: center">
<asp:Button ID="btnSubmit" runat="server" Text="导出清单" OnClick="btnSubmit_Click" />
<asp:Button ID="btnPrint" runat="server" Text="打印清单" OnClick="btnPrint_Click" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pCalendar" runat="server" Height="50px" Width="125px" style="left: 265px; position: relative; top: -72px" Visible="False">
<asp:Calendar ID="Calendar" runat="server" Height="143px" Width="216px" OnSelectionChanged="Calendar_SelectionChanged"></asp:Calendar>
</asp:Panel><asp:GridView ID="gvdc" runat="server" AutoGenerateColumns="False" Height="0px"
Width="700px" PageSize="5" OnPageIndexChanging="gvtest_PageIndexChanging" OnSorting="GridView1_Sorting">
<Columns>
<asp:BoundField DataField="lx" HeaderText="周期类型" SortExpression="ZhouQLX" />
<asp:BoundField DataField="ts" HeaderText="天数" SortExpression="ZhouQ" />
<asp:BoundField DataField="sj" HeaderText="设置时间" />
<asp:BoundField DataField="yy" HeaderText="设置原因" ReadOnly="True" />
</Columns>
</asp:GridView>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -