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

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="Workflow_StructureStatusSearch, App_Web_jdo7zcaj" 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" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.     <table border="1" cellpadding="0" cellspacing="0" width="100%">
  12.     <tr> <td background="../Images/toolbarbg.jpg" style="height: 25px">
  13.              <strong>&nbsp;&nbsp;工 程 项 目 实 施 状 态 查 询</strong>
  14.            </td></tr>
  15.            <tr><td>
  16.            <table border="0" cellpadding="0" cellspacing="0" width="100%">
  17.         <%--<tr valign="middle">   
  18.             <td style="width:25%;"></td>
  19.             <td style="width:15%;height:25px;"><img src="Images/green2.gif"alt="项目启动页" />项目启动页</td>
  20.             <td style="width:15%;height:25px;"><img src="Images/cengse.gif"alt="业务主管审核" />业务主管审核</td>
  21.             <td style="width:15%;height:25px;"><img src="Images/zise.gif"alt="职能审核部门" />职能审核部门</td>
  22.             <td style="width:15%;height:25px;"><img src="Images/blue.gif"alt="计企部审核" />计企部审核</td>
  23.             <td style="width:15%;height:25px;"><img src="Images/green.gif" alt="业务主管需求"/>业务主管需求</td></tr>        
  24.             <tr valign="middle">
  25.             <td style="width:25%;"></td>
  26.             <td style="width:15%;height:25px;"><img src="Images/yellow.gif"alt="分管领导" />分管领导</td>
  27.             <td style="width:15%;height:25px;"><img src="Images/pink.gif"alt="计企部项目确定" />计企部项目确定</td>
  28.             <td style="width:15%;height:25px;"><img src="Images/red.gif"alt="公司领导"/>公司领导</td>
  29.             <td style="width:15%;height:25px;"><img src="Images/Dep1.gif"alt="职能需求部门"/>职能需求部门</td>
  30.             <td style="width:15%;height:25px;"><img src="Images/Dep3.gif"alt="财务部"/>财务部</td></tr>  --%>          
  31.            <tr><td align="center" colspan="6">
  32.            <table  border="0" cellpadding="0" cellspacing="0" width="98%">
  33.            <tr><td>
  34.            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#CDCDCF" BorderWidth="0px" DataKeyNames="ConID" 
  35.              CssClass="Grid"  SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  36.      FooterStyle-CssClass="GridFooter"  ShowFooter="True" CellSpacing="1" CellPadding="0"  Width="100%"
  37.      HeaderStyle-ForeColor="black"   HeaderStyle-Font-Size="12px"  HeaderStyle-Font-Underline="false"   AllowPaging="True" AllowSorting="True" 
  38.              OnRowDataBound="GridView1_RowDataBound" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand" PageSize="10">                          
  39.                            <AlternatingRowStyle BackColor="#F0F0F0" />
  40.                 <RowStyle BackColor="#F9FAFC" CssClass="HeadingCellText" Height="25px" />
  41.                 <HeaderStyle BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />
  42.                                         <Columns>                                                                   
  43.                                         <asp:BoundField DataField="WFName" HeaderText="工作流名称">                                           
  44.                                         </asp:BoundField>                                  
  45.                                         <asp:BoundField DataField="ConName" HeaderText="项目名称">                                           
  46.                                         </asp:BoundField> 
  47.                                  <%--   <asp:BoundField DataField="EditUnit" HeaderText="填报单位">                                          
  48.                                         </asp:BoundField>   
  49.                                         <asp:BoundField DataField="ProjcetLsh" HeaderText="项目流水号">                                      
  50.                                         </asp:BoundField>  --%>                                         
  51.                                         <asp:BoundField DataField="CreateUserID" HeaderText="启动者">                                           
  52.                                         </asp:BoundField>
  53.                                          <asp:BoundField DataField="CreateDate" HeaderText="启动时间">                                           
  54.                                         </asp:BoundField> 
  55.                                          <asp:BoundField DataField="Status" HeaderText="项目状态">                                           
  56.                                         </asp:BoundField>                                       
  57.                                         <asp:TemplateField Visible="false">
  58.                                             <ItemTemplate>
  59.                                             <asp:HiddenField ID="hid"  Value='<%#Eval("MustChooseItem")%>' runat="server"/>
  60.                                             </ItemTemplate>
  61.                                             <ItemStyle/>
  62.                                         </asp:TemplateField>                                                                               
  63.                                         <%--<asp:TemplateField>
  64.                                             <ItemTemplate>
  65.                                                 <asp:Image ID="Image1" runat="server"/>
  66.                                             </ItemTemplate>
  67.                                                <HeaderTemplate>状态</HeaderTemplate>
  68.                                         </asp:TemplateField>--%>   
  69.                                         <asp:BoundField DataField="OpName" HeaderText="状态" />                                                                                                          
  70.                                         <asp:ButtonField CommandName="save"   ButtonType="Image"  ImageUrl="Images/icon3.gif" HeaderText="查看活动">
  71.                                             <ItemStyle BorderWidth="0px" HorizontalAlign="Center" />                                           
  72.                                         </asp:ButtonField>                          
  73.                                         </Columns>
  74.                                  <FooterStyle CssClass="GridFooter" />
  75. <PagerStyle CssClass="GridPage" HorizontalAlign="Center" />
  76.             <PagerTemplate>
  77.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  78.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  79.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  80.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  81.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  82.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  83.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  84.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  85.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  86.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  87.                 </PagerTemplate>
  88.                 <EmptyDataTemplate>
  89.                 <center class="EmpetyData"> 系统提示:请输入查询条件,也可以新增用户数据。</center>
  90.                 </EmptyDataTemplate>
  91.                  <HeaderStyle Font-Size="12px" Font-Underline="False" ForeColor="Black" BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />                 
  92.                <SelectedRowStyle CssClass="SelectedRow" />
  93.                  </asp:GridView> 
  94.                  </td></tr></table>
  95.                  </td></tr> 
  96.                  <tr><td>&nbsp;</td></tr>          
  97.            </table>
  98.            </td></tr>          
  99.            </table>
  100.     
  101.     </div>
  102.     </form>
  103. </body>
  104. </html>