s_buyer.aspx
来自「asp.net+sql2000超市管理系统」· ASPX 代码 · 共 107 行
ASPX
107 行
<%@ Register TagPrefix="uc1" TagName="C_Navigation2" Src="C_Navigation2.ascx" %>
<%@ Register TagPrefix="uc1" TagName="C_Navigation1" Src="C_Navigation1.ascx" %>
<%@ Page language="c#" Codebehind="S_buyer.aspx.cs" AutoEventWireup="false" Inherits="Supermart.S_buyer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>S_buyer</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<table style="WIDTH: 803px; HEIGHT: 582px" height="582" cellSpacing="0" cellPadding="0"
width="803" align="center" border="0">
<tr>
<td colSpan="4" height="128">
<P align="center"><EM><asp:image id="Image4" runat="server" ImageUrl="IMAGE/header.jpg"></asp:image></EM></P>
</td>
</tr>
<tr>
<td style="HEIGHT: 61px" vAlign="top" bgColor="#ffffff" colSpan="4" height="61">
<uc1:C_Navigation1 id="C_Navigation11" runat="server"></uc1:C_Navigation1></td>
</tr>
<tr>
<td style="HEIGHT: 5px" bgColor="#ffffff" colSpan="4" height="5"><asp:image id="Image1" runat="server" ImageUrl="IMAGE/line上.jpg"></asp:image></td>
</tr>
<tr>
<td style="WIDTH: 9px; HEIGHT: 294px" align="left" width="9" background="IMAGE/line左右.jpg"
bgColor="#ffffff"></td>
<td style="WIDTH: 155px; HEIGHT: 294px" vAlign="top" align="left" width="155" height="294">
<uc1:C_Navigation2 id="C_Navigation21" runat="server"></uc1:C_Navigation2></td>
<td style="HEIGHT: 294px" vAlign="top" width="7" background="IMAGE/line左右.jpg" bgColor="#ffffff"
height="294"></td>
<td style="HEIGHT: 294px" vAlign="top" width="641" height="294">
<TABLE id="Table1" style="WIDTH: 634px; HEIGHT: 190px" cellSpacing="0" cellPadding="0"
width="634" border="0">
<TR>
<TD style="HEIGHT: 42px" bgColor="#99ccff" colSpan="2"><FONT size="5"><STRONG>顾客信息</STRONG></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 634px; HEIGHT: 28px" bgColor="#ccccff" colSpan="2">顾客姓名:
<asp:textbox id="txt_buyerName" runat="server" Width="72px"></asp:textbox>
联系电话:
<asp:TextBox id="txt_phone" runat="server" Width="76px"></asp:TextBox>
住址:
<asp:TextBox id="txt_address" runat="server" Width="140px"></asp:TextBox></TD>
</TR>
<TR>
<TD style="WIDTH: 634px; HEIGHT: 28px" bgColor="#ccccff" colSpan="2">
备注:
<asp:textbox id="txt_remark" runat="server" Width="314px"></asp:textbox>
<asp:button id="btn_putin" runat="server" Text="添加"></asp:button></TD>
</TR>
<TR>
<TD vAlign="top" align="right" colSpan="2"><asp:datagrid id="buyerlist" runat="server" Width="636px" CellPadding="4" BackColor="White" BorderWidth="1px"
BorderStyle="None" BorderColor="#CC9966" AutoGenerateColumns="False" AllowPaging="True" PageSize="6">
<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="buyerID" HeaderText="顾客编号">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="buyerID" DataNavigateUrlFormatString="buyerinformation.aspx?buyerID={0}"
DataTextField="buyerName" HeaderText="顾客姓名">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="buyTime" HeaderText="交易次数">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="latestBuy" HeaderText="最近交易时间">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="totalMoney" HeaderText="交易总金额">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete">
<HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="#330099"
BackColor="#FFFFCC"></PagerStyle>
</asp:datagrid>
</TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td style="HEIGHT: 9px" align="left" colSpan="4"><asp:image id="Image5" runat="server" ImageUrl="IMAGE/footer.jpg"></asp:image></td>
</tr>
</table>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?