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

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkFlowWait.aspx.cs" Inherits="WorkFlow_WorkFlowWait" %>
  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.     <link href="style/gridStyle.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.     <table width="100%" style="height:100%; border:0;" cellpadding="0" cellspacing="0" >
  12.        <tr>
  13.            <td>
  14.               <img alt="" src="image/top_29.jpg" height="25" style="vertical-align:middle;"/>
  15.          
  16.            </td>
  17.            <td style="background-image:url(image/top_32.jpg); width:100%; font-size:14px;">
  18.              <strong>    待办事宜   </strong>
  19.            </td>
  20.              <td style="background-image:url(image/top_32.jpg);">
  21.                 <a href="WorkFlowWaitList.aspx?StrWait=1"/><img alt="更多的待办事宜..." src="Image/xx5.gif" style="vertical-align:middle; border:0;"/>
  22.            </td>
  23.            <td>
  24.                 <img alt="" src="Image/top_34.jpg"  height="25" style="vertical-align:middle;"/>
  25.            </td>
  26.        </tr>
  27.        
  28.      </table>
  29.      
  30.       <table style="height:230px;" cellspacing="0" cellpadding="0" width="100%" border="0">
  31.         <tr>
  32.     <td><img alt="" height="230px" src="image/r_004.gif" width="10"/></td>
  33.     <td style="PADDING-TOP:4px;  width:100%;" valign="top">
  34.     
  35.     
  36.     <!--                                                  -->
  37.      <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
  38.   Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
  39.   SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  40.   FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView1_PageIndexChanging"
  41.   OnRowDataBound="GridView1_RowDataBound">
  42. <AlternatingRowStyle BackColor="#F0F0F0" />
  43. <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
  44. <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
  45. <Columns>
  46.     <asp:TemplateField HeaderText="序号">
  47.                         <ItemTemplate>
  48.                             <%#(Container.DataItemIndex+1)%>
  49.                         </ItemTemplate>
  50.                     </asp:TemplateField>
  51.                     
  52.                     <asp:TemplateField HeaderText="项目名称">
  53.                         <ItemTemplate>
  54.                             <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self"  Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
  55. </asp:HyperLink>
  56. <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow">
  57. <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>   
  58. </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
  59.                         </ItemTemplate>
  60.                     </asp:TemplateField>
  61.                     <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
  62.                     <asp:BoundField DataField="ActName" HeaderText="活动名称" />
  63.                     <asp:BoundField DataField="PageUrl" HeaderText="页面" Visible="false" />
  64.                     <asp:BoundField DataField="WorkFlowID" HeaderText="工作流id" Visible="false" />
  65.                     <asp:BoundField DataField ="ActID" HeaderText="活动实例" Visible="false" />
  66.                    <%-- <asp:BoundField DataField="AcceptDate" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />--%>
  67.                    <%-- <asp:TemplateField HeaderText="工作流状态">
  68.                         <ItemTemplate>
  69.                             <asp:Label  id="Label2" runat="server" Text='<%# FormatStr(DataBinder.Eval(Container,"DataItem.Status")) %>'>   
  70.                             </asp:Label>
  71.                         </ItemTemplate>
  72.                            
  73.                     </asp:TemplateField>--%>
  74.                     <%--<asp:BoundField DataField="Status"  HeaderText="工作流状态" />--%>
  75. </Columns>
  76. <FooterStyle CssClass="GridFooter" />
  77. <PagerStyle CssClass="GridPage" />
  78.             <PagerTemplate>
  79.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  80.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  81.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  82.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  83.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  84.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  85.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  86.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  87.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  88.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  89.             </PagerTemplate>
  90.             <EmptyDataTemplate>
  91.                 <table width="100%" class="GridHeader">
  92.                     <tr>
  93.                         <td style="border:1px solid #CCCCCC;">序号</td>
  94.                         <td style="border:1px solid #CCCCCC;">项目名称</td>
  95.                         <td style="border:1px solid #CCCCCC;">工作流名称</td>
  96.                         <td style="border:1px solid #CCCCCC;">活动名称</td>
  97.                     </tr>
  98.                 </table>
  99.                 <center class="EmpetyData"> 系统提示:您没有待办事宜!</center>
  100.             </EmptyDataTemplate>
  101.         </asp:GridView>
  102.     
  103.     
  104.     
  105.     <!--                                                -->
  106.          
  107.     </td>
  108.     <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
  109. </tr> 
  110. </table> 
  111.      
  112.      <table width="100%" cellpadding="0" cellspacing="0" border="0">
  113.         <tr>
  114.              <td><img alt="" src="image/r_006.gif" /></td>
  115.              <td style="width:100%; background-image:url(image/r_007.gif);"></td>
  116.              <td><img alt="" src="image/r_008.gif"/></td>
  117.         </tr>
  118.      </table>
  119.           
  120.      <table width="100%" style="height:100%; border:0;" cellpadding="0" cellspacing="0">
  121.         <tr>
  122.            <td>
  123.               <img alt="" src="Image/top_29.jpg"  height="25" style="vertical-align:middle;"/>
  124.            </td>
  125.            <td style="background-image:url(image/top_32.jpg); width:100%; font-size:14px;">
  126.              <strong>     公共事宜    </strong>
  127.            </td>
  128.              <td style="background-image:url(image/top_32.jpg);">
  129.                 <a href="WorkFlowWaitList.aspx?StrWait=2"/><img alt="更多公共事宜..." src="Image/xx5.gif" style="vertical-align:middle; border:0;"/>
  130.            </td>
  131.            <td>
  132.                 <img alt="" src="Image/top_34.jpg"  height="25" style="vertical-align:middle;"/>
  133.            </td>
  134.        </tr>
  135.       </table>
  136.       
  137.       <table style="height:230px;" cellspacing="0" cellpadding="0" width="100%" border="0">
  138.         <tr>
  139.     <td><img alt="" height="230px" src="image/r_004.gif" width="10"/></td>
  140.     <td style="PADDING-TOP:4px;  width:100%;" valign="top">
  141.     
  142.     <!------------------------------------------------------->
  143.     
  144.  <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
  145.   Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
  146.   SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  147.   FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging" 
  148.   OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
  149. <AlternatingRowStyle BackColor="#F0F0F0" />
  150. <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
  151. <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
  152. <Columns>
  153.     <asp:TemplateField HeaderText="序号">
  154.                         <ItemTemplate>
  155.                             <%#(Container.DataItemIndex+1)%>
  156.                         </ItemTemplate>
  157.                     </asp:TemplateField>
  158.                     
  159.                     <asp:TemplateField HeaderText="项目名称">
  160.                         <ItemTemplate>
  161.                             <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self"  Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
  162. </asp:HyperLink> <%-- NavigateUrl='WFTaskBrowse.aspx?AssID=<%# DataBinder.Eval(Container,"DataItem.AssID") %>'--%>
  163. <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow">
  164. <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
  165. </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
  166.                         </ItemTemplate>
  167.                     </asp:TemplateField>
  168.                     <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
  169.                     <asp:BoundField DataField="ActName" HeaderText="活动名称" />
  170.                     <asp:BoundField DataField="PageUrl" HeaderText="页面" Visible="false" />
  171.                     <asp:BoundField DataField="WorkFlowID" HeaderText="工作流id" Visible="false" />
  172.                     <asp:BoundField DataField ="ActID" HeaderText="活动实例" Visible="false" />
  173.                     <%--<asp:BoundField DataField="AcceptDate" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />--%>
  174.                  </Columns>
  175. <FooterStyle CssClass="GridFooter" />
  176. <PagerStyle CssClass="GridPage" />
  177.             <PagerTemplate>
  178.            
  179.      <%--       <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
  180.   Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
  181.   SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  182.   FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging" 
  183.   OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
  184. <AlternatingRowStyle BackColor="#F0F0F0" />
  185. <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
  186. <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
  187. <Columns>
  188.     <asp:TemplateField HeaderText="序号">
  189.                         <ItemTemplate>
  190.                             <%#(Container.DataItemIndex+1)%>
  191.                         </ItemTemplate>
  192.                     </asp:TemplateField>
  193.                     <asp:TemplateField HeaderText="项目名称">
  194.                         <ItemTemplate>
  195.                             <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.UserAccount")%>' Text='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
  196. </asp:HyperLink>
  197. <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
  198. <%# DataBinder.Eval(Container, "DataItem.UserAccount")%>
  199. </asp:LinkButton>
  200.                         </ItemTemplate>
  201.                     </asp:TemplateField>
  202.                     <asp:BoundField DataField="UserAccount" HeaderText="项目流水号" />
  203.                     <asp:BoundField DataField="UserDecs" HeaderText="工作流名称" />
  204.                     <asp:BoundField DataField="IPAddress" HeaderText="活动名称" />
  205.                     <asp:BoundField DataField="IPAddress" HeaderText="项目编号" />
  206.                     <asp:BoundField DataField="UserAccount" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />
  207. </Columns>
  208. <FooterStyle CssClass="GridFooter" />
  209. <PagerStyle CssClass="GridPage" />
  210.             <PagerTemplate>--%>
  211.             
  212.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  213.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  214.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  215.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  216.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  217.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  218.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  219.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  220.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  221.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  222.             </PagerTemplate>
  223.             <EmptyDataTemplate>
  224.                 <table width="100%" class="GridHeader">
  225.                     <tr>
  226.                         <td style="border:1px solid #CCCCCC;">序号</td>
  227.                         <td style="border:1px solid #CCCCCC;">项目名称</td>
  228.                         <td style="border:1px solid #CCCCCC;">工作流名称</td>
  229.                         <td style="border:1px solid #CCCCCC;">活动名称</td>
  230.                     </tr>
  231.                 </table>
  232.                 <center class="EmpetyData"> 系统提示:您没有公共事宜!</center>
  233.             </EmptyDataTemplate>
  234.         </asp:GridView>
  235.     
  236.     <!------------------------------------------------------->
  237.     
  238.     
  239.     </td>
  240.     <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
  241. </tr> 
  242. </table> 
  243.      
  244.      <table width="100%" cellpadding="0" cellspacing="0" border="0">
  245.      
  246.         <tr>
  247.              <td><img alt="" src="image/r_006.gif" /></td>
  248.              <td style="width:100%; background-image:url(image/r_007.gif);"></td>
  249.              <td><img alt="" src="image/r_008.gif"/></td>
  250.         </tr>
  251.      </table>
  252.     
  253.     </div>
  254.     </form>
  255. </body>
  256. </html>