manage_Freight.aspx
Upload User: lusr621
Upload Date: 2022-01-11
Package Size: 1001k
Code Size: 4k
Development Platform:

VBScript

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="manage_Freight.aspx.cs" Inherits="Manage_manage_Freight" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.      <script language='javascript'>
  7.     function openPWD(i,width,height)
  8.    {
  9.       window.showModalDialog(i,"","dialogHeight: "+height+"px; dialogWidth: "+width+"px;dialogTop:px; dialogLeft:px; edge: Raised; center: Yes; help: No; resizable: No; status: No;scroll:No");
  10.    }
  11.     </script>
  12. </head>
  13. <body bgcolor="D2CBC5">
  14.     <form id="form1" runat="server">
  15.     <div style="text-align: center">
  16.         <strong><span style="color: #660099">
  17.         货源信息管理<br />
  18.         </span></strong>
  19.         <table border="0" cellpadding="0" cellspacing="0">
  20.             <tr>
  21.                 <td style="width: 100px; height: 19px; text-align: center">
  22.                 </td>
  23.                 <td style="width: 410px; height: 19px; text-align: center">
  24.                     <asp:RadioButton ID="rdibtnS" runat="server" AutoPostBack="True" Checked="True" GroupName="info"
  25.                         OnCheckedChanged="rdibtnS_CheckedChanged" Text="所有信息" Width="97px" />&nbsp;<asp:RadioButton
  26.                             ID="rdibtnY" runat="server" AutoPostBack="True" GroupName="info" OnCheckedChanged="rdibtnY_CheckedChanged"
  27.                             Text="已审核信息" Width="104px" />&nbsp;
  28.                     <asp:RadioButton ID="rdibtnW" runat="server" AutoPostBack="True" GroupName="info"
  29.                         OnCheckedChanged="rdibtnW_CheckedChanged" Text="未审核信息" Width="101px" /></td>
  30.                 <td style="width: 100px; height: 19px; text-align: center">
  31.                 </td>
  32.             </tr>
  33.             <tr>
  34.                 <td colspan="3" style="height: 19px; text-align: center">
  35.         <asp:GridView ID="gvFreight" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvFreight_RowDataBound" OnRowDeleting="gvFreight_RowDeleting" OnSelectedIndexChanging="gvFreight_SelectedIndexChanging" Font-Size="10pt" AllowPaging="True" OnPageIndexChanging="gvFreight_PageIndexChanging">
  36.             <Columns>
  37.                 <asp:BoundField DataField="Start" HeaderText="出发地" />
  38.                 <asp:BoundField DataField="Terminal" HeaderText="到达地" />
  39.                 <asp:BoundField DataField="FreightType" HeaderText="货物种类" />
  40.                 <asp:BoundField DataField="FBDate" HeaderText="发布日期" DataFormatString="{0:yy-MM-dd}" HtmlEncode="False" />
  41.                 <asp:TemplateField HeaderText="详细信息">
  42.                     <ItemTemplate>
  43.                          <a  href="#" onclick='openPWD("../freightInfo.aspx?ID=<%#Eval("ID")%>",500,600)' >详细信息</a>  
  44.                     </ItemTemplate>
  45.                 </asp:TemplateField>
  46.                 <asp:BoundField AccessibleHeaderText="sh" DataField="Auditing" HeaderText="状态" />
  47.                 <asp:BoundField DataField="Term" DataFormatString="{0:yyyy-MM-dd}" HeaderText="有效日期"
  48.                     HtmlEncode="False" />
  49.                 <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
  50.                     <ControlStyle Font-Underline="False" />
  51.                 </asp:CommandField>
  52.                 <asp:CommandField HeaderText="审核" SelectText="通过/取消" ShowSelectButton="True" />
  53.             </Columns>
  54.         </asp:GridView>
  55.                 </td>
  56.             </tr>
  57.         </table>
  58.     
  59.     </div>
  60.     </form>
  61. </body>
  62. </html>