quanxian/quanxianlist.aspx

(完整代码) 2KB

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="quanxianlist.aspx.cs" Inherits="quanxian_quanxianlist" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<LINK href="../css/admin.css" type="text/css" rel="stylesheet"><meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<style type="text/css">


</style>
<body>
    <form id="form1" runat="server">
    <div>
    <br>
<br>
<div align="center">
  <h3> 权限信息列表</h3>
<hr width=80% color=#880000>
    &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" 
                    BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" 
        CellPadding="3"  Width="680px" CellSpacing="1" AllowPaging="True"  
        OnPageIndexChanging="GridView1_PageIndexChanging" DataKeyNames="qxid" 
        DataSourceID="SqlDataSource1">
                    <RowStyle ForeColor="#000066"  />
                    <Columns>
                        <asp:BoundField DataField="qxid" HeaderText="权限编号" InsertVisible="False"  ReadOnly="True" SortExpression="qxid" />
  <asp:BoundField DataField="qx" HeaderText="权限"  SortExpression="qx" />

                                   <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                        <a href='quanxiandel.aspx?id=<%# Eval("qxid") %>' onclick="if(confirm('是否删除')){ return true;}else{return false;}">
                                删除</a>| <a href='quanxianmod.aspx?id=<%# Eval("qxid") %>'>
                                修改</a>
                          </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
  

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DConnectionString %>" 
        SelectCommand="SELECT * FROM quanxian">
    </asp:SqlDataSource>
  

    </div>
    </form>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。