📄 send_sell.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Send_Sell.aspx.cs" Inherits="Send_Sell" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_title" Runat="Server">
<span style="font-size:12px; color:#FFFFFF;font-weight: bold;">订单确认</span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Pages" Runat="Server">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SellOrder_ConnectionString %>" SelectCommand="SELECT * FROM [sell] WHERE (([Type] = @Type) AND ([SendMail] = @SendMail)) ORDER BY [id] DESC">
<SelectParameters>
<asp:Parameter DefaultValue="销售信息" Name="Type" Type="String" />
<asp:Parameter DefaultValue="1" Name="SendMail" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" CellPadding="4" DataKeyNames="id" ForeColor="#333333" GridLines="None" Width="98%" EmptyDataText="暂无数据!">
<Columns>
<asp:BoundField DataField="CommodityName" HeaderText="商品名称" SortExpression="CommodityName" />
<asp:BoundField DataField="Number" HeaderText="数量" SortExpression="Number" />
<asp:BoundField DataField="Pirce" HeaderText="单价" SortExpression="Pirce" />
<asp:BoundField DataField="kehu" HeaderText="客户名称" SortExpression="kehu" />
<asp:BoundField DataField="AddTime" HeaderText="登记时间" SortExpression="AddTime" />
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Show_Sell.aspx?Flag=no&Id={0}" HeaderText="详细数据" NavigateUrl="Show_Sell.aspx" Text="查看详细" />
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Send_Sell.aspx?Flag=1&Id={0}" HeaderText="发送确认信件" NavigateUrl="Send_Sell.aspx" Text="发信" />
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Send_Sell.aspx?Flag=2&Id={0}" HeaderText="人工通知确认" NavigateUrl="Send_Sell.aspx" Text="<div id="de" onclick="JavaScript:return confirm('您确认已经人工通知过客服了吗?')">人工通知确认</div>" />
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="30px" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Height="35px" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" Height="30px" />
</asp:GridView>
<br /><br />
<asp:Panel ID="Panel_SendMail" runat="server" >
<table width="600" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#66ccff">
<tr bgcolor="#ffffff">
<td align="center" colspan="2" height="35" bgcolor="#eeeeee">发送信件</td>
</tr>
<tr bgcolor="#ffffff">
<td width="100" height="35">对方信箱:</td>
<td align="left">
<asp:TextBox ID="txt_Email" runat="server" Width="450px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_Email"
Display="Dynamic" ErrorMessage="必须填写对方Email!"></asp:RequiredFieldValidator></td>
</tr>
<tr bgcolor="#ffffff">
<td width="100" height="35">信件标题:</td>
<td align="left">
<asp:TextBox ID="txt_Title" runat="server" Width="450px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_Title"
Display="Dynamic" ErrorMessage="必须填写标题!"></asp:RequiredFieldValidator></td>
</tr>
<tr bgcolor="#ffffff">
<td width="100" height="35">信件正文:</td>
<td align="left">
<asp:TextBox ID="txt_Body" runat="server" TextMode="MultiLine" Height="115px" Width="450px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_Body"
Display="Dynamic" ErrorMessage="必须填写正文!"></asp:RequiredFieldValidator></td>
</tr>
<tr bgcolor="#ffffff">
<td align="center" colspan="2" height="35">
<asp:Button ID="btnAdd" runat="server" Text="确 认 发 送" OnClick="btnAdd_Click" /></td>
</tr>
</table>
</asp:Panel>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -