⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 master.aspx

📁 本系统内置的测评模块可以根据学生的学习成绩以及往日的综合表现对学生的综合素质分进行自动评分操作
💻 ASPX
字号:
<%@ Page AutoEventWireup="false" Inherits="px.master" %>

<!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>
    <link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
    <script src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div><br />
    <table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr><td style="HEIGHT: 28px"><a href="#">系统首页</a> &gt;&gt; 用户管理</td></tr></tbody></table>
    
    </div>
        <br />
        <table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
                <tr>
                    <td colspan="2" style="height: 28px">
                        分类选择:&nbsp;
                        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                    <td style="height: 28px">
                        搜索用户:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        <asp:Button ID="Button2" runat="server" Text="确定" /></td>
                </tr>
            </tbody>
        </table>
        <br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            BackImageUrl="~/images/bg_list.gif" CssClass="tableborder" DataKeyNames="id"
            GridLines="None" PageSize="20" Width="100%">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="id" HeaderText="数据库编号" ReadOnly="True">
                    <ControlStyle Width="10%" />
                    <HeaderStyle Width="10%" />
                </asp:BoundField>
                <asp:BoundField DataField="username" HeaderText="用户名" ReadOnly="True" />
                <asp:BoundField DataField="sname" HeaderText="真实姓名" />
                <asp:TemplateField HeaderText="用户类别">
                    <ItemTemplate>
                        <%#Type(Container.DataItem("rank"))%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <ControlStyle Width="20%" />
                    <HeaderStyle Width="20%" />
                    <ItemTemplate>
                        <a href="edituser.aspx?id=<%#container.dataitem("id") %>">编辑</a> 
                        <asp:LinkButton ID="LinkButton3" runat="server" CausesValidation="False" CommandName="Delete"
                            Text="删除" OnClientClick="return msgbox('请确认您的操作!')"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" CssClass="altbg2" />
            <EmptyDataTemplate>
                暂时没有数据,请先新建。
            </EmptyDataTemplate>
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="Black" HorizontalAlign="Center" />
            <HeaderStyle CssClass="header" ForeColor="White" Height="30px" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -