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

.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.                         <td style="border:1px solid #CCCCCC;">活动名称</td>
  98.                         <td style="border:1px solid #CCCCCC;">项目编号</td>
  99.                     </tr>
  100.                 </table>
  101.                 <center class="EmpetyData"> 系统提示:您没有待办事宜!</center>
  102.             </EmptyDataTemplate>
  103.         </asp:GridView>
  104.     
  105.     
  106.     
  107.     <!--                                                -->
  108.          
  109.     </td>
  110.     <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
  111. </tr> 
  112. </table> 
  113.      
  114.      <table width="100%" cellpadding="0" cellspacing="0" border="0">
  115.         <tr>
  116.              <td><img alt="" src="image/r_006.gif" /></td>
  117.              <td style="width:100%; background-image:url(image/r_007.gif);"></td>
  118.              <td><img alt="" src="image/r_008.gif"/></td>
  119.         </tr>
  120.      </table>
  121.           
  122.      <table width="100%" style="height:100%; border:0;" cellpadding="0" cellspacing="0">
  123.         <tr>
  124.            <td>
  125.               <img alt="" src="Image/top_29.jpg"  height="25" style="vertical-align:middle;"/>
  126.            </td>
  127.            <td style="background-image:url(image/top_32.jpg); width:100%; font-size:14px;">
  128.              <strong>     公共事宜    </strong>
  129.            </td>
  130.              <td style="background-image:url(image/top_32.jpg);">
  131.                 <a href="WorkFlowWaitList.aspx?StrWait=2"/><img alt="更多公共事宜..." src="Image/xx5.gif" style="vertical-align:middle; border:0;"/>
  132.            </td>
  133.            <td>
  134.                 <img alt="" src="Image/top_34.jpg"  height="25" style="vertical-align:middle;"/>
  135.            </td>
  136.        </tr>
  137.       </table>
  138.       
  139.       <table style="height:230px;" cellspacing="0" cellpadding="0" width="100%" border="0">
  140.         <tr>
  141.     <td><img alt="" height="230px" src="image/r_004.gif" width="10"/></td>
  142.     <td style="PADDING-TOP:4px;  width:100%;" valign="top">
  143.     
  144.     <!------------------------------------------------------->
  145.     
  146.  <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
  147.   Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
  148.   SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  149.   FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging" 
  150.   OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
  151. <AlternatingRowStyle BackColor="#F0F0F0" />
  152. <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
  153. <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
  154. <Columns>
  155.     <asp:TemplateField HeaderText="序号">
  156.                         <ItemTemplate>
  157.                             <%#(Container.DataItemIndex+1)%>
  158.                         </ItemTemplate>
  159.                     </asp:TemplateField>
  160.                     
  161.                     <asp:TemplateField HeaderText="项目名称">
  162.                         <ItemTemplate>
  163.                             <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self"  Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
  164. </asp:HyperLink> <%-- NavigateUrl='WFTaskBrowse.aspx?AssID=<%# DataBinder.Eval(Container,"DataItem.AssID") %>'--%>
  165. <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow">
  166. <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
  167. </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
  168.                         </ItemTemplate>
  169.                     </asp:TemplateField>
  170.                     <asp:BoundField DataField="ProjcetLsh" HeaderText="项目流水号" />
  171.                     <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
  172.                     <asp:BoundField DataField="ActName" HeaderText="活动名称" />
  173.                     <asp:BoundField DataField="ProjectNumber" HeaderText="项目编号" />
  174.                     <asp:BoundField DataField="PageUrl" HeaderText="页面" Visible="false" />
  175.                     <asp:BoundField DataField="WorkFlowID" HeaderText="工作流id" Visible="false" />
  176.                     <asp:BoundField DataField ="ActID" HeaderText="活动实例" Visible="false" />
  177.                     <%--<asp:BoundField DataField="AcceptDate" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />--%>
  178.                  </Columns>
  179. <FooterStyle CssClass="GridFooter" />
  180. <PagerStyle CssClass="GridPage" />
  181.             <PagerTemplate>
  182.            
  183.      <%--       <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
  184.   Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
  185.   SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText" 
  186.   FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging" 
  187.   OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
  188. <AlternatingRowStyle BackColor="#F0F0F0" />
  189. <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
  190. <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
  191. <Columns>
  192.     <asp:TemplateField HeaderText="序号">
  193.                         <ItemTemplate>
  194.                             <%#(Container.DataItemIndex+1)%>
  195.                         </ItemTemplate>
  196.                     </asp:TemplateField>
  197.                     <asp:TemplateField HeaderText="项目名称">
  198.                         <ItemTemplate>
  199.                             <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.UserAccount")%>' Text='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
  200. </asp:HyperLink>
  201. <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
  202. <%# DataBinder.Eval(Container, "DataItem.UserAccount")%>
  203. </asp:LinkButton>
  204.                         </ItemTemplate>
  205.                     </asp:TemplateField>
  206.                     <asp:BoundField DataField="UserAccount" HeaderText="项目流水号" />
  207.                     <asp:BoundField DataField="UserDecs" HeaderText="工作流名称" />
  208.                     <asp:BoundField DataField="IPAddress" HeaderText="活动名称" />
  209.                     <asp:BoundField DataField="IPAddress" HeaderText="项目编号" />
  210.                     <asp:BoundField DataField="UserAccount" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />
  211. </Columns>
  212. <FooterStyle CssClass="GridFooter" />
  213. <PagerStyle CssClass="GridPage" />
  214.             <PagerTemplate>--%>
  215.             
  216.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  217.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  218.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  219.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  220.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  221.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  222.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  223.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  224.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  225.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" /> 
  226.             </PagerTemplate>
  227.             <EmptyDataTemplate>
  228.                 <table width="100%" class="GridHeader">
  229.                     <tr>
  230.                         <td style="border:1px solid #CCCCCC;">序号</td>
  231.                         <td style="border:1px solid #CCCCCC;">项目名称</td>
  232.                         <td style="border:1px solid #CCCCCC;">项目流水号</td>
  233.                         <td style="border:1px solid #CCCCCC;">工作流名称</td>
  234.                         <td style="border:1px solid #CCCCCC;">活动名称</td>
  235.                         <td style="border:1px solid #CCCCCC;">项目编号</td>
  236.                     </tr>
  237.                 </table>
  238.                 <center class="EmpetyData"> 系统提示:您没有公共事宜!</center>
  239.             </EmptyDataTemplate>
  240.         </asp:GridView>
  241.     
  242.     <!------------------------------------------------------->
  243.     
  244.     
  245.     </td>
  246.     <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
  247. </tr> 
  248. </table> 
  249.      
  250.      <table width="100%" cellpadding="0" cellspacing="0" border="0">
  251.      
  252.         <tr>
  253.              <td><img alt="" src="image/r_006.gif" /></td>
  254.              <td style="width:100%; background-image:url(image/r_007.gif);"></td>
  255.              <td><img alt="" src="image/r_008.gif"/></td>
  256.         </tr>
  257.      </table>
  258.     
  259.     </div>
  260.     </form>
  261. </body>
  262. </html>