📄 viewsales.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ViewSales.aspx.cs" Inherits="Sale_ViewSales" Title="销售订单" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%">
<tr>
<td>
<table>
<tr>
<td>
开始时间
</td>
<td>
<asp:TextBox ID="TextBoxStartDate" runat="server"></asp:TextBox>
</td>
<td>
结束时间
</td>
<td>
<asp:TextBox ID="TextBoxEndDate" runat="server"></asp:TextBox>
</td>
<td>
产品类别
</td>
<td>
<asp:DropDownList ID="DrpProductTypeList" runat="server" AutoPostBack="True" DataSourceID="SqlDataSourceTypes" DataTextField="ProductTypeName" DataValueField="ProductTypeCode" Width="140px" >
</asp:DropDownList>
</td>
<td>
产品代码
</td>
<td>
<asp:TextBox ID="TextBoxFindCode" runat="server"></asp:TextBox>
</td>
<td>
<asp:Button ID="ButtonFind" runat="server" Text="查找" />
</td>
</tr>
<tr>
<td colspan="8">
<asp:Button ID="ButtonAddNewOrder" runat="server" Text="录入新的销售订单" OnClick="ButtonAddNewOrder_Click" />
<asp:Button ID="ButtonViewHistory" runat="server" Text="查看销售订单历史" OnClick="ButtonViewHistory_Click" />
</td>
</tr>
</table>
<asp:Label ID="LabelError" runat="server" Text="" ForeColor="red"></asp:Label></td>
</tr>
<tr>
<td>
<asp:GridView ID="GridViewSalesReport" runat="server" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical">
<FooterStyle BackColor="#CCCC99" />
<RowStyle BackColor="#F7F7DE" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSourceTypes" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
SelectCommand="SELECT [ProductTypeID], [ProductTypeCode], [ProductTypeName] FROM [tbl_ProductType] UNION SELECT -1 as [ProductTypeID], '' as [ProductTypeCode], '全部' as [ProductTypeName] order by ProductTypeID">
</asp:SqlDataSource>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -