WFLog.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:7k
- <%@ page language="C#" autoeventwireup="true" inherits="Workflow_WFLog, App_Web_-rs7x2pk" theme="Normal" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- <base target="_self" />
- <%-- <link href="../SysManage/style/gridStyle.css" rel="stylesheet" type="text/css" />--%>
- <%-- <script type="text/javascript">
- function ShowData()
- {
- form1.PageValue.value = form1.TB_Page.value;
- alert(form1.PageValue.value);
- return false;
- }
- </script>--%>
- </head>
- <body>
- <form id="form1" runat="server">
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr>
- <td background="../Images/toolbarbg.jpg" height="25px">
- <strong> 项 目 日 志 查 询</strong>
- </td>
- </tr>
- <tr>
- <td>
- <asp:ImageButton ID="IB_fanhui" runat="server" ImageUrl="~/Workflow/image/fanhui.gif" BorderColor="Transparent" BorderStyle="None" PostBackUrl="../SearchP/ProjectSearch.aspx"/>
- <asp:ImageButton ID="IB_new" runat="server" ImageUrl="~/Workflow/image/new.gif" OnClick="IB_new_Click" />
- <asp:ImageButton ID="IB_quxiao" runat="server" Enabled="false" ImageUrl="~/Workflow/image/quxiao2.gif" ToolTip="取消" OnClick="IB_quxiao_Click" />
- <asp:ImageButton ID="IB_save" runat="server" Enabled="false" ImageUrl="~/Workflow/image/save2.gif" OnClick="IB_save_Click" ValidationGroup="Save" />
- </td>
- </tr>
- <tr><td background="../SysManage/image/header_bg.gif"></td></tr>
- <tr><td style="height:10px"> </td></tr>
- <tr><td><asp:Panel BorderWidth="0px" Width="100%" runat="server" ID="write" HorizontalAlign="Center">
- <TABLE width="90%" border="1" cellPadding="0" cellSpacing="0" style="border-color:#cfcfcf;">
- <tr style="background-color:#dbdbdb;"><td style="width:10%;">登记人</td>
- <td style="width:40%;" align="left">
- <asp:TextBox ID="TB_User" runat="server" Width="200px" Enabled="false"></asp:TextBox></td>
- <td style="width:10%;">登记日期</td>
- <td style="width:40%;" align="left"> <asp:TextBox ID="TB_Time" runat="server" Width="200px" Enabled="false"></asp:TextBox></td></tr>
- <tr><td>日志信息</td>
- <td colspan="3" align="left">
- <asp:TextBox ID="TB_Counent" runat="server" TextMode="MultiLine" Height="50px" Width="500px" ></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_Counent" ValidationGroup="Save"></asp:RequiredFieldValidator>
- </td></tr>
- </TABLE>
- </asp:Panel>
- </td></tr>
- <tr><td style="height:5px"> </td></tr>
- <tr><td><asp:Panel BorderWidth="0px" Width="100%" runat="server" ID="read" HorizontalAlign="Center">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
- ShowFooter="true" CellSpacing="0" CellPadding="0" OnPageIndexChanging="GridView1_PageIndexChanging"
- Width="100%" AllowPaging="True" AllowSorting="True">
- <Columns>
- <asp:TemplateField>
- <ItemTemplate>
- <table width="90%" border="1" cellPadding="0" cellSpacing="0" style="border-bottom-color:#cfcfcf; border-left-color:#cfcfcf;border-right-color:#cfcfcf;">
- <tr style="background-color:#dbdbdb; width:90%;" valign="top">
- <td style="width:10%;height:20px">登记人</td>
- <td style="width:40%;" align="left"> <%#DataBinder.Eval(Container.DataItem,"Writer")%></td>
- <td style="width:10%;">登记日期</td>
- <td style="width:40%;" align="left"> <%#DataBinder.Eval(Container.DataItem,"WriteDate")%></td></tr>
- <tr><td style="width:10%;height:50px" align="center">日志信息</td>
- <td colspan="3" align="left"> <%#DataBinder.Eval(Container.DataItem,"WriteInfo")%></td></tr>
- </table>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- <PagerTemplate>
- <asp:Label ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>
- <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>
- <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
- 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页
- <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
- MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
- <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" />
- </PagerTemplate>
- <EmptyDataTemplate>
- <center class="EmpetyData"> 系统提示:此项目没有日志。</center>
- </EmptyDataTemplate>
- </asp:GridView>
- </asp:Panel>
- </td></tr>
- <tr><td style="height:10px"> </td></tr>
- <tr><td background="../SysManage/image/header_bg.gif"></td></tr>
- </TABLE>
- </form>
- </body>
- </html>