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

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="SearchP_StructureAllStatus, App_Web_m8rus61i" 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> <table border="1" cellpadding="0" cellspacing="0" width="100%">
  11.     <tr><td background="../Images/toolbarbg.jpg"  height="25px">
  12.              <strong>&nbsp;&nbsp;当前工作流:</strong>
  13.              <asp:Label ID="LB_NowWF" runat="server"></asp:Label>
  14.               <strong>&nbsp;&nbsp;项目名称:</strong>
  15.              <asp:Label ID="LB_PrjName" runat="server"></asp:Label>
  16.           <%--    <strong>&nbsp;&nbsp;填报单位:</strong>
  17.              <asp:Label ID="LB_EditUnit" runat="server"></asp:Label>
  18.               <strong>&nbsp;&nbsp;流水号:</strong>
  19.              <asp:Label ID="LB_PrjLsh" runat="server"></asp:Label>--%>
  20.            </td></tr>
  21.            <tr><td>
  22.            <table border="0" cellpadding="0" cellspacing="0" width="100%">
  23.             <tr>
  24.             <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;
  25.                 <asp:ImageButton ID="IM_Quit" runat="server" ImageUrl="Images/p1.gif" PostBackUrl="~/SearchP/StructureStatusSearch.aspx"/><strong>&nbsp;返回</strong></td></tr>
  26.            <tr><td align="center">
  27.            <table  border="0" cellpadding="0" cellspacing="0" width="98%"><tr><td>
  28.            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#CDCDCF" BorderWidth="0px" DataKeyNames="ConID" 
  29.              CssClass="Grid"  SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  30.   FooterStyle-CssClass="GridFooter"  ShowFooter="True" CellSpacing="1" CellPadding="0"  Width="100%"
  31.     HeaderStyle-ForeColor="black"   HeaderStyle-Font-Size="12px"  HeaderStyle-Font-Underline="false"   AllowPaging="True" AllowSorting="True" 
  32.          OnRowDataBound="GridView1_RowDataBound" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand" PageSize="10">                          
  33.                           <AlternatingRowStyle BackColor="#F0F0F0" />
  34.                 <RowStyle BackColor="#F9FAFC" CssClass="HeadingCellText" Height="25px" />
  35.                 <HeaderStyle BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />
  36.                                         <Columns>                                                                   
  37.                                         <asp:BoundField DataField="ActName" HeaderText="活动名称">                                           
  38.                                         </asp:BoundField>                                  
  39.                                         <asp:BoundField DataField="UserID" HeaderText="接收者">                                           
  40.                                         </asp:BoundField> 
  41.                                         <asp:BoundField DataField="RealEndDate" HeaderText="完成时间">                                          
  42.                                         </asp:BoundField>   
  43.                                         <asp:BoundField DataField="Status" HeaderText="决策">                                          
  44.                                         </asp:BoundField>                               
  45.                                        <%-- <asp:TemplateField Visible="false">
  46.                                             <ItemTemplate>
  47.                                             <asp:HiddenField ID="hid"  Value='<%#Eval("Status")%>' runat="server"/>
  48.                                             </ItemTemplate>
  49.                                             <ItemStyle/>
  50.                                         </asp:TemplateField>                                                                               
  51.                                         <asp:TemplateField>
  52.                                         <ItemTemplate>
  53.                                             <asp:Image ID="Image1" runat="server"/>
  54.                                         </ItemTemplate>
  55.                                         <HeaderTemplate>决策</HeaderTemplate>
  56.                                         </asp:TemplateField>   --%>                                                 
  57.                                         </Columns>
  58.                                  <FooterStyle CssClass="GridFooter" />
  59. <PagerStyle CssClass="GridPage" HorizontalAlign="Center" />
  60.             <PagerTemplate>
  61.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  62.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  63.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  64.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  65.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  66.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  67.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  68.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  69.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  70.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  71.                 </PagerTemplate>
  72.                 <EmptyDataTemplate>
  73.                 <center class="EmpetyData"> 系统提示:请输入查询条件,也可以新增用户数据。</center>
  74.                 </EmptyDataTemplate>
  75.                  <HeaderStyle Font-Size="12px" Font-Underline="False" ForeColor="Black" BackColor="#DFDFDF" CssClass="GridHeader" Height="25px" />                 
  76.                <SelectedRowStyle CssClass="SelectedRow" />
  77.                  </asp:GridView> 
  78.                  </td></tr></table>
  79.                  </td></tr> 
  80.                  <tr><td>&nbsp;</td></tr>          
  81.            </table>
  82.            </td></tr>          
  83.            </table>    
  84.     </div>
  85.     </form>
  86. </body>
  87. </html>