StructureSearch.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:9k
源码类别:

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="SearchP_StructureSearch, App_Web_w2dfzsmw" theme="Normal" %>
  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 id="Head1" runat="server">
  5.     <title>工程实施-已办任务</title>
  6.     <link href="style/gridStyle.css" rel="Stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">    
  10.      <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
  11.        <tr>
  12.           <td colspan="2" background="../Images/toolbarbg.jpg"  height="25px">
  13.              <strong>&nbsp;&nbsp;项 目 查 询</strong>
  14.            </td>
  15.        </tr>
  16.        <tr>
  17.          <td colspan="2" style="height: 5px">&nbsp;</td> 
  18.        </tr>
  19.        <tr>
  20.          <td align="left">
  21.          <table cellpadding="0" cellspacing="0" border="0" style="width:805px;background-image: url(Images/bg.gif);" >
  22.          <tr>         
  23.          <td valign="middle" align="left">
  24.         <asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Size="Smaller" RepeatDirection="Horizontal" Height="20" CellPadding="15" Width="349px" >
  25.                   <asp:ListItem Value="-1" Selected="True">全部</asp:ListItem>
  26.                  <asp:ListItem Value="1">生产类</asp:ListItem>
  27.                  <asp:ListItem Value="2">科技类</asp:ListItem>
  28.                  <asp:ListItem Value="3">营销类</asp:ListItem>    
  29.              </asp:RadioButtonList>
  30.          </td>         
  31.          <td valign="middle" align="center"><asp:RadioButtonList ID="RadioButtonList2" runat="server" Font-Size="Smaller" RepeatDirection="Horizontal" Height="20" CellPadding="14" Width="441px">
  32.                 <asp:ListItem Value="-1" Selected="True">全部</asp:ListItem>
  33.                  <asp:ListItem Value="1">正常</asp:ListItem>
  34.                  <asp:ListItem Value="2">施工完成</asp:ListItem>
  35.                  <asp:ListItem Value="3">作废</asp:ListItem>                  
  36.              </asp:RadioButtonList>
  37.              </td>
  38.          </tr>
  39.          </table>   
  40.              <div style="z-index: 101; left: 841px; width: 77px; position: absolute; top: 51px;
  41.                  height: 51px">
  42.                  <asp:Button ID="search" runat="server" Text="查询" OnClick="search_Click" /></div>
  43.          </td>
  44.          <td valign="middle" align="left"></td>  
  45.        </tr>
  46.         <tr>
  47.          <td colspan="2"  height="5">&nbsp;</td> 
  48.        </tr>
  49.        <tr>
  50.        <td colspan="2" width="100%" valign="top">
  51.            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ConID" BackColor="#CDCDCF" BorderWidth="0px"
  52.              CssClass="Grid"  SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  53.   FooterStyle-CssClass="GridFooter"  ShowFooter="True" CellSpacing="1" CellPadding="0"  Width="100%" OnRowDataBound="GridView1_RowDataBound"                       
  54.                         HeaderStyle-ForeColor="black"   HeaderStyle-Font-Size="12px"  HeaderStyle-Font-Underline="false"   AllowPaging="True" AllowSorting="True" 
  55.                         OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand">                          
  56.                            <AlternatingRowStyle BackColor="#F0F0F0" />
  57.                 <RowStyle BackColor="#F9FAFC" CssClass="HeadingCellText" Height="25px" />
  58.                 <HeaderStyle BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />
  59.                                <Columns>
  60.                                         <asp:BoundField DataField="ConID" HeaderText="施工编号">                                          
  61.                                         </asp:BoundField>   
  62.                                         <asp:BoundField DataField="ConName" HeaderText="项目施工名称">                                           
  63.                                         </asp:BoundField> 
  64. <%--                                        <asp:BoundField DataField="ProjcetLsh" HeaderText="项目申请流水号">                                          
  65.                                         </asp:BoundField>--%>
  66.                                         <asp:BoundField DataField="ConSort" HeaderText="项目施工类型">                                           
  67.                                         </asp:BoundField>
  68. <%--                                         <asp:BoundField DataField="ProjectSort" HeaderText="项目分类">                                           
  69.                                         </asp:BoundField>
  70.                                          <asp:BoundField DataField="Transactor" HeaderText="经办人">                                           
  71.                                         </asp:BoundField>
  72.                                          <asp:BoundField DataField="EditUnit" HeaderText="编报单位">                                           
  73.                                         </asp:BoundField>
  74.                                          <asp:BoundField DataField="PlanCharge" HeaderText="计划费用">                                          
  75.                                         </asp:BoundField>--%> 
  76.                                          <asp:BoundField DataField="Status" HeaderText="状态">                                           
  77.                                         </asp:BoundField>
  78. <%--                                         <asp:BoundField DataField="CreateDate"  DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderText="申报日期">                                           
  79.                                         </asp:BoundField>
  80.                                          <asp:BoundField DataField="SuccessedDate" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderText="实际完工时间">                                           
  81.                                         </asp:BoundField> --%>
  82.                                         <asp:ButtonField CommandName="save" ButtonType="Image"  ImageUrl="Images/icon3.gif" HeaderText="详细信息">
  83.                                             <ItemStyle BorderWidth="0px" HorizontalAlign="Center" />
  84.                                             <HeaderStyle BorderWidth="0px"/>
  85.                                         </asp:ButtonField>                              
  86.                                         </Columns>
  87.                                  <FooterStyle CssClass="GridFooter" />
  88. <PagerStyle CssClass="GridPage" />
  89.             <PagerTemplate>
  90.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  91.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  92.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  93.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  94.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  95.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  96.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  97.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  98.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  99.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  100.                 </PagerTemplate>
  101.                 <EmptyDataTemplate>
  102.                 <center class="EmpetyData"> 系统提示:请输入查询条件,也可以新增用户数据。</center>
  103.                 </EmptyDataTemplate>
  104.                  <HeaderStyle Font-Size="12px" Font-Underline="False" ForeColor="Black" BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />                 
  105.                <SelectedRowStyle CssClass="SelectedRow" />
  106.                  </asp:GridView>            
  107.         </td>
  108.        </tr>       
  109.     </TABLE>    
  110.     </form>
  111. </body>
  112. </html>