manage_Truck.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_Truck.aspx.cs" Inherits="Manage_manage_Truck" %>
  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: #330099">
  17.         车源信息管理<br />
  18.         </span></strong>
  19.         <table border="0" cellpadding="0" cellspacing="0">
  20.             <tr>
  21.                 <td style="width: 100px; height: 20px; text-align: center">
  22.                 </td>
  23.                 <td style="width: 410px; height: 20px; 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: 20px; text-align: center">
  31.                 </td>
  32.             </tr>
  33.             <tr>
  34.                 <td colspan="3" style="height: 20px; text-align: center">
  35.         <asp:GridView ID="gvTruck" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvTruck_RowDataBound"
  36.             OnRowDeleting="gvTruck_RowDeleting" OnSelectedIndexChanging="gvTruck_SelectedIndexChanging" Font-Size="10pt" AllowPaging="True" OnPageIndexChanging="gvTruck_PageIndexChanging">
  37.             <Columns>
  38.               <asp:BoundField DataField="start" HeaderText="出发地" />
  39.                 <asp:BoundField DataField="Terminal" HeaderText="到达地" />
  40.                 <asp:BoundField DataField="TruckType" HeaderText="车型" />
  41.                 <asp:BoundField DataField="TruckLoad" HeaderText="载重" />
  42.                 <asp:BoundField DataField="FBDate" DataFormatString="{0:yy-MM-dd}" HeaderText="发布日期"
  43.                     HtmlEncode="False" />
  44.                 <asp:TemplateField HeaderText="详细信息">
  45.                     <ItemTemplate>
  46.                         <a href="#" onclick='openPWD("../truckInfo.aspx?ID=<%#Eval("ID")%>",500,600)'>详细信息</a>
  47.                     </ItemTemplate>
  48.                 </asp:TemplateField>
  49.                 <asp:BoundField AccessibleHeaderText="sh" DataField="Auditing" HeaderText="状态" />
  50.                 <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
  51.                     <ControlStyle Font-Underline="False" />
  52.                 </asp:CommandField>
  53.                 <asp:CommandField HeaderText="审核" SelectText="通过/取消" ShowSelectButton="True" />
  54.             </Columns>
  55.         </asp:GridView>
  56.                 </td>
  57.             </tr>
  58.         </table>
  59.     
  60.     </div>
  61.     </form>
  62. </body>
  63. </html>