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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="flow_list.aspx.cs" Inherits="web_approvel_flow_flow_list" %>
  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.     <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.     <center>
  12.         <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
  13.             Text="差假流程列表"></asp:Label>&nbsp;</center>
  14.         <center>
  15.             &nbsp;</center>
  16.         <center>
  17.         <asp:GridView ID="FlowList" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="id" DataSourceID="SqlDataSource1" GridLines="Vertical" PageSize="18" Width="500px" OnRowDataBound="FlowList_RowDataBound">
  18.             <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
  19.             <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
  20.             <Columns>
  21.                 <asp:BoundField DataField="name" HeaderText="名稱" SortExpression="name" />
  22.                 <asp:BoundField DataField="description" HeaderText="描述" SortExpression="description" />
  23.             </Columns>
  24.             <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
  25.             <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
  26.             <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
  27.             <AlternatingRowStyle BackColor="#DCDCDC" />
  28.         </asp:GridView>
  29.             &nbsp;</center>
  30.         <center>
  31.             &nbsp;</center>
  32.         <center>
  33.             <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  34.                 SelectCommand="select id, name, description from OA_FLOW_MAIN"></asp:SqlDataSource>
  35.         </center>
  36.     </div>
  37.     </form>
  38. </body>
  39. </html>