orderlistofuser.ascx
来自「一个JAVA做的在线书店非常不错 有兴趣的可以下来看看」· ASCX 代码 · 共 24 行
ASCX
24 行
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OrderListOfUser.ascx.cs" Inherits="Controls_OrderListOfUser" %>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="OrderID" DataNavigateUrlFormatString="~/ShowOrder.aspx?OrderID={0}"
DataTextField="OrderID" HeaderText="订单ID" NavigateUrl="~/ShowOrder.aspx" Target="_blank" />
<asp:BoundField DataField="TotalBookPrice" DataFormatString="{0:c}" HeaderText="书本费用"
HtmlEncode="False" />
<asp:BoundField DataField="PortPrice" DataFormatString="{0:c}" HeaderText="运输费用"
HtmlEncode="False" />
<asp:BoundField DataField="SumPrice" DataFormatString="{0:c}" HeaderText="总费用" HtmlEncode="False" />
<asp:BoundField DataField="HasPayedPrice" DataFormatString="{0:c}" HeaderText="已付费用"
HtmlEncode="False" />
<asp:BoundField DataField="HasNotPayedPrice" DataFormatString="{0:c}" HeaderText="未付费用"
HtmlEncode="False" />
<asp:BoundField DataField="TipName" HeaderText="订单状态" />
<asp:BoundField DataField="PortTypeName" HeaderText="收货方式" />
<asp:BoundField DataField="PayTypeName" HeaderText="付款方式" />
<asp:BoundField DataField="UserName" HeaderText="注册用户" />
<asp:BoundField DataField="OrderDate" HeaderText="下单时间" />
</Columns>
</asp:GridView>
<asp:Label ID="lblMsg" runat="server" Text=""></asp:Label>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?