?? cargo_list.aspx
字號:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Cargo_list" Codebehind="Cargo_list.aspx.cs" %>
<%@ Register Src="enter.ascx" TagName="enter" TagPrefix="uc1" %>
<!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>
</head>
<body leftmargin="0" bgcolor=#efefef>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="White" BorderStyle="None" BorderWidth="2px" CellPadding="3"
CellSpacing="1" GridLines="None" PageSize="20" Font-Size="12px" OnPageIndexChanging="GridView1_PageIndexChanging" Width="570px" HorizontalAlign="Center" OnRowDataBound="GridView1_RowDataBound" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" OnRowDeleting="GridView1_RowDeleting">
<PagerSettings FirstPageText="第一頁" LastPageText="最后一頁"
NextPageText="下一頁" PreviousPageText="上一頁" />
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<Columns>
<asp:BoundField DataField="CargoName" HeaderText="貨物名稱" SortExpression="CargoName" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CargoDate" HeaderText="發貨日期" ReadOnly="True" SortExpression="Start" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="username" HeaderText="發布用戶" ReadOnly="True" SortExpression="Whither" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CargoNow" HeaderText="發布日期">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Auditing" HeaderText="審核">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="../Cargo_open.aspx?id={0}"
HeaderText="詳細信息" Target="_blank" Text="詳細信息">
<ItemStyle HorizontalAlign="Center" />
</asp:HyperLinkField>
<asp:CommandField HeaderText="刪除" ShowDeleteButton="True">
<ItemStyle HorizontalAlign="Center" />
</asp:CommandField>
<asp:CommandField SelectText="通過/取消" ShowSelectButton="True">
<ItemStyle HorizontalAlign="Center" />
</asp:CommandField>
</Columns>
<RowStyle BackColor="#EFEFEF" ForeColor="Black" />
<SelectedRowStyle BackColor="#E8E8FF" Font-Bold="True" ForeColor="Black" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#ADBDCE" Font-Bold="False" ForeColor="Black" Wrap="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
</asp:GridView>
<uc1:enter ID="Enter1" runat="server" />
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -