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

📄 edituser.aspx

📁 会议室管理系统,本系统是我大学毕业时候的毕业设计,一次通过的!
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="edituser.aspx.cs" Inherits="edituser" Title="编辑会员-会议室预定系统" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
               <table border="0" style="width: 633px">
                        <tr>
                            <td bgcolor="#a43737" style="height: 23px; width: 631px;">
                                <div align="center" style="font-weight: bold; font-size: 15px; color: #ffffff">
                                    管理管理员-编辑会员</div>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 631px; height: 160px">
                                <asp:GridView ID="gvuserinfo" runat="server" AutoGenerateColumns="False"
                                    BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CaptionAlign="Top"
                                    CellPadding="2" ForeColor="Black" GridLines="None" OnRowCreated="gvuserinfo_RowCreated"
                                    Style="text-align: center" Width="628px" OnSelectedIndexChanged="gvuserinfo_SelectedIndexChanged">
                                    <PagerSettings NextPageText="下一页" PreviousPageText="上一页" />
                                    <FooterStyle BackColor="Tan" />
                                    <Columns>
                                        <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True">
                                            <ItemStyle Width="55px" HorizontalAlign="Left"/>
                                            <HeaderStyle Width="30px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="username" HeaderText="用户名称" />
                                        <asp:BoundField DataField="loginnum" HeaderText="上站次数" />
                                        <asp:BoundField DataField="entertime" DataFormatString="{0:d}" HeaderText="注册时间" />
                                        <asp:BoundField DataField="loginouttime" DataFormatString="{0:d}" HeaderText="最近访问" />
                                        <asp:BoundField DataField="attr" HeaderText="状态" />
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged"
                                                    Text="全选" />
                                            </HeaderTemplate>
                                            <ItemStyle Width="47px" />
                                            <ItemTemplate>
                                                <asp:CheckBox ID="itemchk" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:CheckBox ID="Checkall" runat="server" AutoPostBack="True" OnCheckedChanged="Checkall_CheckedChanged"
                                                    Text="设置为管理员" />
                                            </HeaderTemplate>
                                            <ItemStyle Width="100px" />
                                            <ItemTemplate>
                                                <asp:CheckBox ID="itemchk1" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                                    <HeaderStyle BackColor="Tan" Font-Bold="True" />
                                    <AlternatingRowStyle BackColor="PaleGoldenrod" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" style="height: 18px; width: 631px;">
                                每页显示<font color="red">12</font>位会员 共有<asp:Label ID="lblRecordCount" runat="server"
                                    Font-Bold="True" ForeColor="Red"></asp:Label>位会员 当前是第<asp:Label ID="Labelye" runat="server"
                                        Font-Bold="True" ForeColor="Red" Text="1"></asp:Label>/<asp:Label ID="lblPageCount"
                                            runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>页 &nbsp;<asp:Button ID="Button1"
                                                runat="server" Height="19px" OnClick="Button1_Click" Text="首 页" />
                                &nbsp;
                                <asp:Button ID="Button2" runat="server" Height="19px" OnClick="Button2_Click" Text="上 页" />
                                &nbsp;&nbsp;<asp:Button ID="Button3" runat="server" Height="19px" OnClick="Button3_Click"
                                    Text="下 页" />
                                &nbsp;&nbsp;<asp:Button ID="Button4" runat="server" Height="19px" OnClick="Button4_Click"
                                    Text="末 页" /></td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 631px; height: 23px">
                                <asp:Button ID="Btndel" runat="server" Height="21px" OnClick="Btndel_Click" Text="删除所选"
                                    Width="62px" />
                                                                  &nbsp; &nbsp; &nbsp; 
                                <asp:Button ID="Button5" runat="server" Height="21px" OnClick="Button5_Click" Text="将所选设置为管理员"
                                    Width="123px" /></td>
                             </tr>       
                        
       <tr>
            <td align="left" style="width: 631px; height: 17px;">
                <asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label></td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

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