📄 cst_customer_select.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CST_Customer_select.aspx.cs" Inherits="Admin_CST_Customer_select" %>
<!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 Button1_onclick() {
window.open('CST_customer_add.aspx?getID=null','','width=300,height=250,Resizable=no,toolbar=no, menubar=no, scrollbars=no,top=300,left=300, resizable=no,location=no,status=no')
}
// ]]>
</script>
</head>
<body style="background-color: #dee5ef;">
<form id="form1" runat="server">
<div style="text-align: left">
<table border="0" style="text-align: left; width: 719px;">
<tr>
<td colspan="2" style="height: 20px; width: 354px;" align="center">
<table style="width: 711px; height: 1px">
<tr>
<td align="left" style="width: 94px; height: 20px">
<asp:Label ID="Label2" runat="server" Height="18px" Text="客户姓名" Width="67px"></asp:Label></td>
<td align="left" style="width: 95px; height: 20px">
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:188px;height:19px;clip:rect(-1px 190px 190px 170px);">
<asp:DropDownList ID="drlname" runat="server" style="margin:-2px;" onChange="javascript:document.getElementById('TxtInputname').value=document.getElementById('drlname').options[document.getElementById('drlname').selectedIndex].value;" Height="58px" Width="190px">
</asp:DropDownList>
</span>
<span style="position:absolute;border-top:1pt solid #c1c1c1;border-left:1pt solid #c1c1c1;border-bottom:1pt solid #c1c1c1;width:170px;height:1px;">
<asp:TextBox ID="TxtInputname" runat="server" style="border:0pt;" Height="15px" Width="163px"></asp:TextBox></span>
<asp:TextBox ID="TextBox1" runat="server" Height="15px" Width="180px"></asp:TextBox></td>
<td align="left" style="width: 226px; height: 20px">
<asp:Label ID="Label1" runat="server" Text="客户编码" Width="69px" Height="19px"></asp:Label></td>
<td align="left" style="width: 3481px; height: 20px">
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:188px;height:19px;clip:rect(-1px 190px 190px 170px);">
<asp:DropDownList ID="drlID" runat="server" style="margin:-2px;" onChange="javascript:document.getElementById('TxtInputID').value=document.getElementById('drlID').options[document.getElementById('drlID').selectedIndex].value;" Height="58px" Width="190px">
</asp:DropDownList>
</span>
<span style="position:absolute;border-top:1pt solid #c1c1c1;border-left:1pt solid #c1c1c1;border-bottom:1pt solid #c1c1c1;width:170px;height:1px;">
<asp:TextBox ID="TxtInputID" runat="server" style="border:0pt;" Height="15px" Width="163px"></asp:TextBox></span>
<asp:TextBox ID="TextBox2" runat="server" Height="15px" Width="180px"></asp:TextBox></td>
<td align="center" style="width: 100px; height: 20px">
<asp:Button ID="ButSelect" runat="server" Height="26px" Text="查询" Width="91px" OnClick="ButSelect_Click" />
</td>
<td align="left" style="width: 100px; height: 20px">
<asp:Button ID="Button3" runat="server" Height="24px" Text="导出XML" OnClick="Button3_Click" />
</td>
<td align="left" style="width: 384px; height: 20px">
<asp:Button ID="Button4" runat="server" Text="导入XML" OnClick="Button4_Click" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" style="width: 354px; height: 177px" colspan="2" rowspan="2">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataKeyNames="cust_id" Height="82px" OnPageIndexChanging="GridView1_PageIndexChanging"
OnRowDeleting="GridView1_RowDeleting" 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="cust_id" HeaderText="客户ID" />
<asp:BoundField DataField="name" HeaderText="客户姓名" />
<asp:BoundField DataField="password" HeaderText="客户密码" />
<asp:BoundField DataField="email" HeaderText="客户邮件" />
<asp:CommandField FooterText="编辑" HeaderText="操作" ShowEditButton="True" />
<asp:CommandField FooterText="删除" HeaderText="操作" ShowDeleteButton="True" />
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
</td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 354px; height: 18px; text-align: center;" align="center" colspan="2">
<input id="Button1" type="button" value="添 加" onclick="return Button1_onclick()" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -