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

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="Workflow_WFLog, App_Web_-rs7x2pk" 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 runat="server">
  5.     <title>无标题页</title>
  6.     <base target="_self" />
  7.    <%-- <link href="../SysManage/style/gridStyle.css"  rel="stylesheet" type="text/css" />--%>
  8.   <%--  <script type="text/javascript">
  9.     function ShowData()
  10.     {
  11.         form1.PageValue.value = form1.TB_Page.value;
  12.         alert(form1.PageValue.value);
  13.         return false;
  14.     }
  15.     </script>--%>
  16. </head>
  17. <body>
  18.     <form id="form1" runat="server">    
  19.     <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
  20.        <tr>
  21.           <td background="../Images/toolbarbg.jpg"  height="25px">
  22.              <strong>&nbsp;&nbsp;项 目 日 志 查 询</strong>
  23.            </td>
  24.        </tr>
  25.        <tr>
  26.           <td>&nbsp;&nbsp;
  27.               <asp:ImageButton ID="IB_fanhui" runat="server" ImageUrl="~/Workflow/image/fanhui.gif" BorderColor="Transparent" BorderStyle="None" PostBackUrl="../SearchP/ProjectSearch.aspx"/>&nbsp;&nbsp;    
  28.               <asp:ImageButton ID="IB_new" runat="server" ImageUrl="~/Workflow/image/new.gif" OnClick="IB_new_Click" />&nbsp;&nbsp; 
  29.               <asp:ImageButton ID="IB_quxiao" runat="server"  Enabled="false" ImageUrl="~/Workflow/image/quxiao2.gif" ToolTip="取消" OnClick="IB_quxiao_Click"   />&nbsp;&nbsp; 
  30.               <asp:ImageButton ID="IB_save" runat="server" Enabled="false" ImageUrl="~/Workflow/image/save2.gif" OnClick="IB_save_Click" ValidationGroup="Save" />&nbsp;&nbsp;          
  31.            </td>
  32.        </tr>
  33.        <tr><td  background="../SysManage/image/header_bg.gif"></td></tr>
  34.        <tr><td  style="height:10px">&nbsp;</td></tr>
  35.        <tr><td><asp:Panel BorderWidth="0px" Width="100%" runat="server" ID="write" HorizontalAlign="Center">
  36.        <TABLE width="90%" border="1" cellPadding="0" cellSpacing="0" style="border-color:#cfcfcf;">
  37.        <tr style="background-color:#dbdbdb;"><td style="width:10%;">登记人</td>
  38.        <td style="width:40%;" align="left">&nbsp;
  39.            <asp:TextBox ID="TB_User" runat="server" Width="200px"  Enabled="false"></asp:TextBox></td>
  40.        <td style="width:10%;">登记日期</td>
  41.        <td style="width:40%;" align="left">&nbsp;<asp:TextBox ID="TB_Time" runat="server" Width="200px"  Enabled="false"></asp:TextBox></td></tr>
  42.        <tr><td>日志信息</td>
  43.        <td colspan="3" align="left">&nbsp;
  44.        <asp:TextBox ID="TB_Counent" runat="server" TextMode="MultiLine" Height="50px" Width="500px" ></asp:TextBox>
  45.            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_Counent" ValidationGroup="Save"></asp:RequiredFieldValidator>
  46.        </td></tr>       
  47.        </TABLE>
  48.        </asp:Panel>
  49.            </td></tr> 
  50.            <tr><td style="height:5px">&nbsp;</td></tr>        
  51.        <tr><td><asp:Panel BorderWidth="0px" Width="100%" runat="server" ID="read"  HorizontalAlign="Center">                  
  52.             <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
  53.               ShowFooter="true" CellSpacing="0" CellPadding="0" OnPageIndexChanging="GridView1_PageIndexChanging"           
  54.                Width="100%"  AllowPaging="True" AllowSorting="True">
  55.                <Columns>  
  56.                  <asp:TemplateField>                                 
  57.                  <ItemTemplate>
  58.                  <table width="90%" border="1" cellPadding="0" cellSpacing="0" style="border-bottom-color:#cfcfcf; border-left-color:#cfcfcf;border-right-color:#cfcfcf;">                                                 
  59.                   <tr style="background-color:#dbdbdb; width:90%;" valign="top">
  60.                   <td style="width:10%;height:20px">登记人</td>
  61.                     <td style="width:40%;" align="left">&nbsp;&nbsp;&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"Writer")%></td>
  62.                    <td style="width:10%;">登记日期</td>
  63.                    <td style="width:40%;" align="left">&nbsp;&nbsp;&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"WriteDate")%></td></tr>                       
  64.                    <tr><td style="width:10%;height:50px" align="center">日志信息</td>
  65.                    <td colspan="3" align="left">&nbsp;&nbsp;&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"WriteInfo")%></td></tr>                 
  66.                  </table>
  67.                  </ItemTemplate>                
  68.               </asp:TemplateField>
  69.                  </Columns>
  70.                  <PagerTemplate>             
  71.                 <asp:Label  ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>&nbsp; &nbsp;
  72.                 <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>&nbsp; &nbsp;
  73.                 <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>&nbsp; &nbsp;
  74.                 <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>&nbsp; &nbsp;
  75.                 <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>&nbsp; &nbsp;
  76.                 <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>&nbsp; &nbsp;
  77.                 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页&nbsp; &nbsp;
  78.                 <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
  79.                  MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
  80.                 <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" />               
  81.             </PagerTemplate>
  82.            <EmptyDataTemplate>
  83.              <center class="EmpetyData"> 系统提示:此项目没有日志。</center>
  84.            </EmptyDataTemplate>                      
  85.             </asp:GridView>                                      
  86.        </asp:Panel>
  87.        </td></tr>
  88.        <tr><td style="height:10px">&nbsp;</td></tr>
  89.        <tr><td background="../SysManage/image/header_bg.gif"></td></tr>
  90.        </TABLE>
  91.     </form>
  92. </body>
  93. </html>