admin/AdminOrder.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AdminOrder.aspx.cs" Inherits="admin_AdminOrder" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="OrderID" DataSourceID="SqlDataSource1" ForeColor="#333333"
GridLines="None" Height="162px" onrowcommand="GridView1_RowCommand"
PageSize="8" Width="792px">
<PagerSettings FirstPageText="首页" LastPageText="尾页"
Mode="NextPreviousFirstLast" NextPageText="下一页" PreviousPageText="上一页" />
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:CommandField ButtonType="Button" HeaderText="编辑" ShowDeleteButton="True"
ShowEditButton="True">
<ControlStyle Width="50px" />
</asp:CommandField>
<asp:BoundField DataField="OrderID" HeaderText="订单号" InsertVisible="False"
ReadOnly="True" SortExpression="OrderID">
<ControlStyle Width="40px" />
</asp:BoundField>
<asp:BoundField DataField="BookID" HeaderText="图书ID" SortExpression="BookID">
<ControlStyle Width="90px" />
</asp:BoundField>
<asp:BoundField DataField="BookName" HeaderText="图书名" SortExpression="BookName">
<ControlStyle Width="80px" />
</asp:BoundField>
<asp:BoundField DataField="BookNum" HeaderText="数量" SortExpression="BookNum">
<ControlStyle Width="30px" />
</asp:BoundField>
<asp:BoundField DataField="BookPrice" HeaderText="价格"
SortExpression="BookPrice">
<ControlStyle Width="30px" />
</asp:BoundField>
<asp:BoundField DataField="DateTime" HeaderText="订单时间"
SortExpression="DateTime">
<ControlStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="UserName" HeaderText="订单用户"
SortExpression="UserName">
<ControlStyle Width="90px" />
</asp:BoundField>
<asp:ButtonField ButtonType="Button" CommandName="info" HeaderText="用户信息"
ShowHeader="True" Text="用户信息">
<ControlStyle Width="100px" />
</asp:ButtonField>
</Columns>
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:BookManagerConnectionString %>"
DeleteCommand="DELETE FROM [BookOrder] WHERE [OrderID] = @OrderID"
InsertCommand="INSERT INTO [BookOrder] ([BookName], [BookID], [BookPrice], [UserName], [DateTime], [BookNum]) VALUES (@BookName, @BookID, @BookPrice, @UserName, @DateTime, @BookNum)"
SelectCommand="SELECT * FROM [BookOrder]"
后面还有 38 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。