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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="store.aspx.cs" Inherits="web_pos_store" %>
  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.         &nbsp;</center>
  13.         <asp:GridView ID="UrlList" runat="server" AllowPaging="True" AllowSorting="True"
  14.             AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
  15.             BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1"
  16.             OnRowDataBound="UrlList_RowDataBound" PageSize="20" Style="position: relative; left: 202px; top: 2px;"
  17.             Width="400px">
  18.             <FooterStyle BackColor="White" ForeColor="#000066" />
  19.             <RowStyle ForeColor="#000066" />
  20.             <Columns>
  21.                 <asp:BoundField DataField="name" HeaderText="POS門店名稱" SortExpression="name" />
  22.             </Columns>
  23.             <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
  24.             <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  25.             <HeaderStyle BackColor="Navy" Font-Bold="True" ForeColor="White" />
  26.         </asp:GridView>
  27.         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  28.             SelectCommand="SELECT name,id FROM dbo.OA_POS_URL WHERE (is_freeze = 'N') ORDER BY sequence">
  29.         </asp:SqlDataSource>
  30.     </div>
  31.     </form>
  32. </body>
  33. </html>