?? cargo_list.aspx
字號:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Mnage_Cargo_list" Codebehind="Cargo_list.aspx.cs" %>
<%@ Register Src="foot.ascx" TagName="foot" TagPrefix="uc2" %>
<%@ Register Src="head.ascx" TagName="head" 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>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="0">
<table width="770" border="0" align="center" cellspacing="0" style="clip: rect(auto auto auto auto)">
<tr>
<td style="width: 715px; height: 208px"><uc1:head ID="Head1" runat="server" />
</td>
</tr>
<tr>
<td style="width: 715px;height:350px;BACKGROUND-COLOR: #efefef" valign=top >
<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="770px" HorizontalAlign="Center" >
<PagerSettings FirstPageText="第一頁" LastPageText="最后一頁" Mode="NextPreviousFirstLast"
NextPageText="下一頁" PreviousPageText="上一頁" />
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<Columns>
<asp:BoundField DataField="CargoName" HeaderText="貨物名稱" SortExpression="CargoName" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CargoWeight" HeaderText="貨物重量" ReadOnly="True" SortExpression="CargoWeight" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CargoPrice" HeaderText="運輸價格" ReadOnly="True" SortExpression="CargoPrice" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Start" HeaderText="出發地點" ReadOnly="True" SortExpression="Start" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Whither" HeaderText="到達地點" ReadOnly="True" SortExpression="Whither" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="EffectDate" HeaderText="有效期限" ReadOnly="True" SortExpression="EffectDate" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CargoDate" HeaderText="發貨日期" ReadOnly="True" SortExpression="CargoDate" >
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Cargo_open.aspx?id={0}"
HeaderText="詳細信息" Target="_blank" Text="詳細信息">
<ItemStyle HorizontalAlign="Center" />
</asp:HyperLinkField>
</Columns>
<RowStyle BackColor="#EFEFEF" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<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>
</div>
</form>
</td>
</tr>
<tr>
<td>
<uc2:foot ID="Foot1" runat="server" />
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -