jh_planmanage.aspx
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="jh_planmanage.aspx.cs" Inherits="rc_jh_notemanage" validateRequest="false"%>
- <!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">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
- <title>记录管理</title>
- <style type="text/css">
- <!--
- .style1 {
- color: #FFFFFF;
- font-weight: bold;
- font-size: 13px;
- }
- .style2 {font-size: 14px}
- -->
- </style>
- <link href="../css/link.css" rel="stylesheet" type="text/css"/>
- <style type="text/css">
- <!--
- .style7 {
- font-weight: bold;
- font-size: 13px;
- }
- .style10 {font-size: 12px}
- .style13 {color: #FF0000}
- -->
- </style>
- </head>
- <body>
- <div align="center">
- <%
- COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
- if (loginuser == null)
- {
- Response.Write("<script language='javascript'>parent.document.location.href='../login.aspx'</script>");
- }
- %>
- <form runat="server" action="" method="post">
- <br />
- <br />
- <br />
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="21" style="width: 6px"><img src="../images/sj/leftlin1.gif" width="6" height="21"></td>
- <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style2"><span class="style1">计 划 列 表</span></span></div></td>
- <td width="6" height="21"><img src="../images/sj/rightlin1.gif" width="6" height="21"></td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
- <tr>
- <td bgcolor="#FFFFFF" style="height: 28px"><table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr bgcolor="#FFFFFF">
- <td colspan="1" style="height: 14px"></td>
- </tr>
- </table>
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="to_id"
- DataSourceID="SqlDataSource1" Width="100%" AllowPaging="True" OnRowDataBound="GridView1_RowDataBound">
- <Columns>
- <asp:HyperLinkField DataNavigateUrlFields="to_id" DataNavigateUrlFormatString="jh_plancontent.aspx?toid={0}"
- DataTextField="to_title" HeaderText="计划主题" />
- <asp:HyperLinkField HeaderText="修改" Text="修改" DataNavigateUrlFields="to_id" DataNavigateUrlFormatString="jh_planupdate.aspx?id={0}" />
- <asp:HyperLinkField HeaderText="删除" Text="删除" DataNavigateUrlFields="to_id" DataNavigateUrlFormatString="jh_plandelete.aspx?toid={0}" />
- <asp:HyperLinkField HeaderText="工作类型" Text="工作计划" />
- <asp:BoundField DataField="to_sendtime" HeaderText="时间" SortExpression="to_sendtime" />
- </Columns>
- </asp:GridView>
- </td>
- </tr>
- </table>
- </form>
- <span class="style10"><br>
- (总共<%=this.GridView1.Rows.Count %> 条记录) </span> <a href="jh_writeplan.aspx">撰写计划 </a>
- <br />
- <br />
- <img alt="" src="../images/sj/up.gif" width="17" height="12"/><a href="javascript:history.go(-1)">返 回</a> <br>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:sj_OA_DBConnectionString2 %>"
- SelectCommand="SELECT * FROM [timeorder] WHERE ([to_state] = @to_state)">
- <SelectParameters>
- <asp:Parameter DefaultValue="1" Name="to_state" Type="Int32" />
- </SelectParameters>
- </asp:SqlDataSource>
- <br/>
- <br/>
- </div>
- </body>
- </html>