jh_planupdate.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:10k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="jh_planupdate.aspx.cs" Inherits="rc_jh_update" validateRequest="false"%>
  2. <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6.     <title>无标题页</title>
  7.     <link href="../css/link.css" rel="stylesheet" type="text/css"/>
  8.     <style type="text/css">
  9. <!--
  10. .style1 {color: #FFFFFF}
  11. -->
  12. </style>
  13. </head>
  14. <body>
  15.     <form id="form1" runat="server">
  16.         <br />
  17.         <br />
  18.         <br />
  19.     <table width="100%" border="0" cellpadding="0" cellspacing="0">
  20.     <tr>
  21.       <td width="6" height="21"><img src="../images/sj/leftlin1.gif" width="6" height="21"></td>
  22.       <td width="936" bgcolor="#5AAE18"><div align="center">
  23.           <div align="center" class="style1"><span class="style1 style16 style4"><strong>修 改 计 划</strong></span></div>
  24.           <span class="style1"></span></div></td>
  25.       <td width="6" height="21"><img src="../images/sj/rightlin1.gif" width="6" height="21"></td>
  26.     </tr>
  27.   </table>
  28.   <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
  29.     <tr bgcolor="#FFFFFF">
  30.     <td colspan="8">
  31.     <div>
  32.         &nbsp;<asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False"
  33.             DataSourceID="ObjectDataSource2" Height="50px" Width="100%">
  34.             <Fields>
  35.                 <asp:TemplateField HeaderText="编号" SortExpression="to_id">
  36.                     <EditItemTemplate>
  37.                         <asp:Label ID="label1" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
  38.                     </EditItemTemplate>
  39.                     <InsertItemTemplate>
  40.                         <asp:Label ID="label2" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
  41.                     </InsertItemTemplate>
  42.                     <ItemTemplate>
  43.                         <asp:Label ID="label3" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
  44.                     </ItemTemplate>
  45.                 </asp:TemplateField>
  46.                 
  47.                 <asp:TemplateField HeaderText="主题" SortExpression="to_title">
  48.                     <EditItemTemplate>
  49.                         <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("to_title") %>'></asp:TextBox>
  50.                     </EditItemTemplate>
  51.                     <InsertItemTemplate>
  52.                         <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("to_title") %>'></asp:TextBox>
  53.                     </InsertItemTemplate>
  54.                     <ItemTemplate>
  55.                         <asp:Label ID="Label5" runat="server" Text='<%# Bind("to_title") %>'></asp:Label>
  56.                     </ItemTemplate>
  57.                 </asp:TemplateField>
  58.                 <asp:TemplateField HeaderText="内容" SortExpression="to_content">
  59.                     <EditItemTemplate>
  60.                         <FTB:FreeTextBox ID="ftbContent" runat="server" Text='<%# Bind("to_content") %>'>
  61.                         </FTB:FreeTextBox>
  62.                     </EditItemTemplate>
  63.                     <InsertItemTemplate>
  64.                         <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("to_content") %>'></asp:TextBox>
  65.                     </InsertItemTemplate>
  66.                     <ItemTemplate>
  67.                         <asp:Label ID="Label2" runat="server" Text='<%# Bind("to_content") %>'></asp:Label>
  68.                     </ItemTemplate>
  69.                 </asp:TemplateField>
  70.                 <asp:TemplateField HeaderText="发送人" SortExpression="to_u_id">
  71.                     <EditItemTemplate>
  72.                         <asp:Label ID="Label16" runat="server" Text='<%# Bind("to_u_id") %>'></asp:Label>
  73.                     </EditItemTemplate>
  74.                     <InsertItemTemplate>
  75.                         <asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("users.u_username") %>'></asp:TextBox>
  76.                     </InsertItemTemplate>
  77.                     <ItemTemplate>
  78.                         <asp:Label ID="Label1" runat="server" Text='<%# Eval("users.u_username") %>'></asp:Label>
  79.                     </ItemTemplate>
  80.                 </asp:TemplateField>
  81.                 <asp:TemplateField HeaderText="发送时间" SortExpression="to_sendtime">
  82.                     <EditItemTemplate>
  83.                         <asp:Label ID="Label15" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:Label>
  84.                     </EditItemTemplate>
  85.                     <InsertItemTemplate>
  86.                         <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:TextBox>
  87.                     </InsertItemTemplate>
  88.                     <ItemTemplate>
  89.                         <asp:Label ID="Label6" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:Label>
  90.                     </ItemTemplate>
  91.                 </asp:TemplateField>
  92.                 <asp:TemplateField HeaderText="状态" SortExpression="to_state" >
  93.                     <EditItemTemplate>
  94.                         <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("to_state") %>' ></asp:TextBox>
  95.                     </EditItemTemplate>
  96.                     <InsertItemTemplate>
  97.                         <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("to_state") %>' ></asp:TextBox>
  98.                     </InsertItemTemplate>
  99.                     <ItemTemplate>
  100.                         <asp:Label ID="Label7" runat="server" Text='<%# Bind("to_state") %>' ></asp:Label>
  101.                     </ItemTemplate>
  102.                 </asp:TemplateField>
  103.                 <asp:TemplateField HeaderText="读否" SortExpression="to_isread" Visible="False">
  104.                     <EditItemTemplate>
  105.                         <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:TextBox>
  106.                     </EditItemTemplate>
  107.                     <InsertItemTemplate>
  108.                         <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:TextBox>
  109.                     </InsertItemTemplate>
  110.                     <ItemTemplate>
  111.                         <asp:Label ID="Label8" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:Label>
  112.                     </ItemTemplate>
  113.                 </asp:TemplateField>
  114.                 <asp:TemplateField HeaderText="批阅时间" SortExpression="to_readtime">
  115.                     <EditItemTemplate>
  116.                         <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false"></asp:TextBox>
  117.                     </EditItemTemplate>
  118.                     <InsertItemTemplate>
  119.                         <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false" ></asp:TextBox>
  120.                     </InsertItemTemplate>
  121.                     <ItemTemplate>
  122.                         <asp:Label ID="Label9" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false" ></asp:Label>
  123.                     </ItemTemplate>
  124.                 </asp:TemplateField>
  125.                 <asp:TemplateField HeaderText="批阅内容" SortExpression="to_readcontent" Visible="False">
  126.                     <EditItemTemplate>
  127.                         <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("to_readcontent") %>'  Visible="false"></asp:TextBox>
  128.                     </EditItemTemplate>
  129.                     <InsertItemTemplate>
  130.                         <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("to_readcontent") %>' Visible="false"></asp:TextBox>
  131.                     </InsertItemTemplate>
  132.                     <ItemTemplate>
  133.                         <asp:Label ID="Label10" runat="server" Text='<%# Bind("to_readcontent") %>' Visible="false"></asp:Label>
  134.                     </ItemTemplate>
  135.                 </asp:TemplateField>
  136.                 <asp:TemplateField HeaderText="批阅人" SortExpression="to_readerid" Visible="False">
  137.                     <EditItemTemplate>
  138.                         <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:TextBox>
  139.                     </EditItemTemplate>
  140.                     <InsertItemTemplate>
  141.                         <asp:TextBox ID="TextBox11" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:TextBox>
  142.                     </InsertItemTemplate>
  143.                     <ItemTemplate>
  144.                         <asp:Label ID="Label11" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:Label>
  145.                     </ItemTemplate>
  146.                 </asp:TemplateField>
  147.                 <asp:TemplateField HeaderText="日程日期" SortExpression="to_orderdate" >
  148.                     <EditItemTemplate>
  149.                         <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:TextBox>
  150.                     </EditItemTemplate>
  151.                     <InsertItemTemplate>
  152.                         <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:TextBox>
  153.                     </InsertItemTemplate>
  154.                     <ItemTemplate>
  155.                         <asp:Label ID="Label4" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:Label>
  156.                     </ItemTemplate>
  157.                 </asp:TemplateField>
  158.                 <asp:CommandField ShowEditButton="True" />
  159.             </Fields>
  160.         </asp:DetailsView>
  161.     
  162.     </div>
  163.     </td>
  164.     </tr>
  165.   </table>
  166.         <br />
  167.         <div align="center">
  168.         <img alt=""  src="../images/sj/up.gif" width="17" height="12"/><a href="javascript:history.go(-1)">返 回</a><br />
  169.         </div>
  170.         <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" DataObjectTypeName="COM.OA.Entity.timeorder" SelectMethod="Select" TypeName="COM.OA.BLL.timeorderBLL"
  171.             UpdateMethod="Update">
  172.             <SelectParameters>
  173.                 <asp:QueryStringParameter DefaultValue="1" Name="to_id" QueryStringField="id" Type="Int32" />
  174.                 <asp:Parameter DefaultValue="true" Name="bParentTable" Type="Boolean" />
  175.                 <asp:Parameter DefaultValue="false" Name="bChildrenTable" Type="Boolean" />
  176.             </SelectParameters>
  177.         </asp:ObjectDataSource>
  178.     </form>
  179. </body>
  180. </html>