test.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:2k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="web_approvel_ch_test" %>
- <!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>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:Panel ID="Panel1" runat="server" Height="27px" Style="left: -4px; position: relative;
- top: 12px" Width="580px">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
- DataSourceID="SqlDataSource1" Width="574px">
- <Columns>
- <asp:BoundField DataField="step" HeaderText="step" SortExpression="step" />
- <asp:BoundField DataField="emp_name" HeaderText="emp_name" SortExpression="emp_name" />
- <asp:BoundField DataField="comment" HeaderText="comment" SortExpression="comment" />
- <asp:BoundField DataField="check_date" HeaderText="check_date" SortExpression="check_date" />
- </Columns>
- </asp:GridView>
- <br />
- </asp:Panel>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
- 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')">
- <SelectParameters>
- <asp:QueryStringParameter DefaultValue="1" Name="f_id" QueryStringField="f_id" />
- </SelectParameters>
- </asp:SqlDataSource>
- </div>
- </form>
- </body>
- </html>