📄 khinfo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="KHInfo.aspx.cs" Inherits="ZDWH_KHInfo" %>
<%--<!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="../Main.css" type="text/css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div>
<strong>购书单位信息增加</strong>
<asp:Button ID="ClearBtn" runat="server" class="input_button" OnClick="Clear_Click"
Text="清 空" />
<asp:Button ID="SaveBtn" runat="server" class="input_button" OnClick="Save_Click"
Text="保 存" />
<hr size="1" />
<table id="search" align="center" cellpadding="0" cellspacing="1" class="table_1"
width="95%">
<tbody>
<tr class="tr2">
<td height="25" style="padding-left: 5px">
单位名称:
<asp:TextBox ID="Name" runat="server" class="input_text" Width="200"></asp:TextBox>
<asp:RequiredFieldValidator ID="Requiredfieldvalidator1" runat="server" ControlToValidate="Name"
ErrorMessage="*">此项必填</asp:RequiredFieldValidator>
</td>
<td height="25" style="padding-left: 5px" width="50%">
单位地址:
<asp:TextBox ID="Addr" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
<tr class="tr1">
<td height="25" style="padding-left: 5px">
联系电话:
<asp:TextBox ID="tel" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
<td height="25" style="padding-left: 5px">
联 系 人:
<asp:TextBox ID="lxr" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
<tr class="tr2">
<td height="25" style="padding-left: 5px">
传 真:
<asp:TextBox ID="faxno" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
<td height="25" style="padding-left: 5px">
邮 编:
<asp:TextBox ID="zipcode" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
<tr class="tr1">
<td style="padding-left: 5px; height: 25px">
开 户 行:
<asp:TextBox ID="bankname" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
<td style="padding-left: 5px; height: 25px">
账 号:
<asp:TextBox ID="account" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
<tr class="tr2">
<td style="padding-left: 5px; height: 25px">
电子信箱:
<asp:TextBox ID="Email" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
<td style="padding-left: 5px; height: 25px">
税 号:
<asp:TextBox ID="shui" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
</tbody>
</table>
<br />
<b>购书单位信息查询</b>
<hr size="1" />
<table id="Table1" align="center" border="0" cellpadding="0" cellspacing="1" width="95%">
<tbody>
<tr class="tr2">
<td height="25" style="padding-left: 5px">
检索条件:
<asp:DropDownList ID="query_tj" runat="server" class="input_text" Width="97">
<asp:ListItem Selected="True" Value="name">单位名称</asp:ListItem>
<asp:ListItem Value="address">单位地址</asp:ListItem>
<asp:ListItem Value="connector">联系人</asp:ListItem>
</asp:DropDownList>
检索内容:
<asp:TextBox ID="query_content" runat="server" class="input_text" Width="120"></asp:TextBox>
<asp:Button ID="QueryBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="Query_Click" Text="查 询" />
<b>
<asp:Label ID="Msg" runat="server" ForeColor="red"></asp:Label></b></td>
</tr>
<tr>
<td height="25" style="padding-left: 5px">
<asp:DataGrid ID="DataGrid1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" BorderColor="Black" CellPadding="2" font-name="verdana"
Font-Names="verdana" Font-Size="8pt" HeaderStyle-BackColor="#F8FAFC" OnDeleteCommand="DataGrid1_DeleteCommand"
OnItemCommand="Grid1_Edit" OnPageIndexChanged="Grid1_PageIndexChanged" PageSize="8"
Width="100%">
<HeaderStyle BackColor="#F8FAFC" Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
<PagerStyle Font-Bold="True" Font-Names="宋体" ForeColor="Blue" HorizontalAlign="Right"
Mode="NumericPages" NextPageText="下一页" PrevPageText="上一页" />
<Columns>
<asp:BoundColumn DataField="Code" HeaderText="编码">
<HeaderStyle Width="40px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="单位名称">
<HeaderStyle Width="130px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="address" HeaderText="单位地址">
<HeaderStyle Width="150px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="connector" HeaderText="联系人">
<HeaderStyle Width="50px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="telno" HeaderText="联系电话">
<HeaderStyle Width="60px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="bankname" HeaderText="开户行">
<HeaderStyle Width="100px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="account" HeaderText="账号">
<HeaderStyle Width="100px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="zipcode" HeaderText="邮编" Visible="False"></asp:BoundColumn>
<asp:BoundColumn DataField="faxno" HeaderText="传真" Visible="False"></asp:BoundColumn>
<asp:BoundColumn DataField="shuicode" HeaderText="税号" Visible="False"></asp:BoundColumn>
<asp:BoundColumn DataField="EmailBox" HeaderText="电子信箱" Visible="False"></asp:BoundColumn>
<asp:ButtonColumn CommandName="Edit" HeaderText="编辑" Text="编辑"></asp:ButtonColumn>
<asp:ButtonColumn CommandName="Delete" HeaderText="删除" Text="删除"></asp:ButtonColumn>
</Columns>
<EditItemStyle Width="130px" />
</asp:DataGrid>
</td>
</tr>
</tbody>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -