test.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:2k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="web_approvel_ch_test" %>
  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. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         
  11.             
  12.              <asp:Panel ID="Panel1" runat="server" Height="27px" Style="left: -4px; position: relative;
  13.             top: 12px" Width="580px">
  14.             &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
  15.                 DataSourceID="SqlDataSource1" Width="574px">
  16.                 <Columns>
  17.                     <asp:BoundField DataField="step" HeaderText="step" SortExpression="step" />
  18.                     <asp:BoundField DataField="emp_name" HeaderText="emp_name" SortExpression="emp_name" />
  19.                     <asp:BoundField DataField="comment" HeaderText="comment" SortExpression="comment" />
  20.                     <asp:BoundField DataField="check_date" HeaderText="check_date" SortExpression="check_date" />
  21.                 </Columns>
  22.             </asp:GridView>
  23.             <br />
  24.         </asp:Panel>
  25.         &nbsp;&nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  26.                 SelectCommand="SELECT f.id, f.step, e.emp_name, f.comment, f.check_date FROM dbo.OA_CH_APPROVEL_FORM_FLOW AS f INNER JOIN dbo.OA_EMPLOYEE AS e ON e.id = f.operator_id WHERE f.form_id = @f_id and (is_business='Y')">
  27.             <SelectParameters>
  28.                 <asp:QueryStringParameter DefaultValue="1" Name="f_id" QueryStringField="f_id" />
  29.             </SelectParameters>
  30.             </asp:SqlDataSource>
  31.             </div>
  32.     </form>
  33. </body>
  34. </html>