📄 cst_user_select.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CST_user_select.aspx.cs" Inherits="Admin_CST_uses_add" %>
<!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>
<script language="javascript" type="text/javascript">
// <!CDATA[
function TABLE1_onclick() {
}
// ]]>
</script>
</head>
<body style="font-family: #dee5ef; background-color: #dee5ef">
<form id="form1" runat="server">
<div>
<table style="background-color:lightgrey" id="TABLE1" onclick="return TABLE1_onclick()">
<tr>
<td style="width: 100px; background-color: lightgrey">
<asp:Label ID="Label1" runat="server" Text="用户名" Width="86px"></asp:Label></td>
<td style="width: 100px; background-color:lightgrey">
<asp:DropDownList ID="ddl_user_name" runat="server" Height="22px" Width="93px" AppendDataBoundItems="True">
<asp:ListItem>全部</asp:ListItem>
</asp:DropDownList></td>
<td colspan="2" style="background-color:lightgrey; width: 9px;">
</td>
<td style="width: 133px; background-color:lightgrey">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查 询" Width="55px" />
</td>
<td style="width: 193px; background-color:lightgrey">
<asp:Button ID="Button2" runat="server" Text="导入XML" Width="154px" OnClick="Button2_Click" /></td>
<td style="width: 143px; background-color:lightgrey" colspan="2">
<asp:Button ID="Button3" runat="server" Text="导出XML" Width="118px" OnClick="Button3_Click" /></td>
</tr>
</table>
</div>
<table style="width: 717px; height: 152px">
<tr>
<td style="width: 100px; height: 104px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="user_id" Height="82px"
OnRowEditing="GridView1_RowEditing" PageSize="5"
Width="703px" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None">
<Columns>
<asp:BoundField DataField="user_id" HeaderText="用户序号" SortExpression="用户序号" />
<asp:BoundField DataField="name" HeaderText="用户名" SortExpression="用户名" />
<asp:BoundField DataField="email" HeaderText="用户邮箱" SortExpression="用户邮箱" />
<asp:CommandField HeaderText="操作" ShowEditButton="True" />
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" Wrap="True" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
</asp:GridView>
</td>
</tr>
</table>
<table style="width: 694px; height: 1px;">
<tr>
<td style="width: 39px; height: 26px; background-color: lightgrey">
</td>
<td style="width: 39px; background-color:lightgrey; height: 26px;">
<asp:Button ID="Button4" runat="server" Text="添 加" OnClick="Button4_Click" Width="117px" /></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -