📄 selllist.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SellList.aspx.cs" Inherits="SellMag_SellList" %>
<!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="../style/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None"
BorderWidth="1px" CellPadding="3" DataKeyNames="ProducesId" DataSourceID="SqlDataSource1"
GridLines="Vertical">
<FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
<Columns>
<asp:CommandField ShowSelectButton="True" />
<asp:BoundField DataField="SellListId" HeaderText="SellListId" InsertVisible="False"
ReadOnly="True" SortExpression="SellListId" />
<asp:BoundField DataField="WorkerName" HeaderText="WorkerName" SortExpression="WorkerName" />
<asp:BoundField DataField="ProducesKinds" HeaderText="ProducesKinds" SortExpression="ProducesKinds" />
<asp:BoundField DataField="ProducesName" HeaderText="ProducesName" SortExpression="ProducesName" />
<asp:BoundField DataField="Discount" HeaderText="Discount" SortExpression="Discount" />
<asp:BoundField DataField="ProducesPrices" HeaderText="ProducesPrices" SortExpression="ProducesPrices" />
<asp:BoundField DataField="SellNum" HeaderText="SellNum" SortExpression="SellNum" />
<asp:BoundField DataField="ProducesId" HeaderText="ProducesId" ReadOnly="True" SortExpression="ProducesId" />
</Columns>
<RowStyle BackColor="#EEEEEE" ForeColor="Black" />
<SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
<HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="#DCDCDC" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:csmagConnectionString %>"
SelectCommand="SELECT SellList.SellListId,WorkersList.WorkerName, ProducesKind.ProducesKinds, Produces.ProducesName, Produces.Discount, Produces.ProducesPrices, SellList.SellNum, Produces.ProducesId FROM SellList INNER JOIN Produces ON SellList.ProducesId = Produces.ProducesId INNER JOIN ProducesKind ON Produces.ProducesKindId = ProducesKind.ProducesKindId INNER JOIN WorkersList ON SellList.WorkersListId = WorkersList.WorkersListId">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -