📄 showall.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="showAll.aspx.cs" Inherits="showAll_aspx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body scroll="auto">
<form id="form1" runat="server">
<div>
姓名:<asp:TextBox ID="Name" runat="server" Width="97px"></asp:TextBox> 班级:<asp:TextBox
ID="Class" runat="server" Width="97px"></asp:TextBox> 部门:<asp:TextBox ID="Part"
runat="server" Width="97px"></asp:TextBox>
<br />
时间:<asp:DropDownList ID="Year1" runat="server" Width="56px">
<asp:ListItem>2005</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
<asp:ListItem>2007</asp:ListItem>
</asp:DropDownList>年<asp:DropDownList ID="Month1" runat="server" Width="42px">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:DropDownList>月-<asp:DropDownList ID="Year2" runat="server" Width="56px">
<asp:ListItem>2005</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
<asp:ListItem>2007</asp:ListItem>
</asp:DropDownList>年<asp:DropDownList ID="Month2" runat="server" Width="42px">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:DropDownList>月
<asp:Button ID="Button1" OnClick="Button1_Click" runat="server" Text="查询" Width="55px" />
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="sp" Enabled="False" /><br />
<asp:DataGrid Height="397px" ID="DataGrid1" runat="server" Width="767px" OnSelectedIndexChanged="DataGrid1_SelectedIndexChanged">
<Columns>
<asp:ButtonColumn CommandName="Select" Text="Select"></asp:ButtonColumn>
</Columns>
<AlternatingItemStyle BackColor="#66CC66" />
<ItemStyle BackColor="#66FF66" />
<HeaderStyle BackColor="#9999FF" />
</asp:DataGrid>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -