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

📄 select_students.aspx

📁 很不错的学生管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="select_students.aspx.cs" Inherits="StuMessage_select_students" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
    
        <span style="font-size: 24pt">学员信息</span>
        <table>
            <tr>
                <td style="width: 100px">
                    登陆名:</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txt_landnames" runat="server"></asp:TextBox></td>
                <td style="width: 100px">
                    密码:</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txt_password" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px" align="center">
                    班级:</td>
                <td style="width: 100px">
                    <asp:DropDownList ID="drop_classid" runat="server">
                    </asp:DropDownList></td>
                <td style="width: 100px">
                    姓名:</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txt_names" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    性别:</td>
                <td style="width: 100px">
                    <asp:RadioButtonList ID="rab_sex" runat="server" RepeatDirection="Horizontal"
                        Width="100%">
                        <asp:ListItem Selected="True">男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:RadioButtonList></td>
                <td style="width: 100px">
                    地址:</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txt_address" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; height: 21px">
                    电话:</td>
                <td style="width: 100px; height: 21px">
                    <asp:TextBox ID="txt_phone" runat="server"></asp:TextBox></td>
                <td style="width: 100px; height: 21px">
                    学历:</td>
                <td style="width: 100px; height: 21px">
                    <asp:DropDownList ID="drop_schoolname" runat="server">
                        <asp:ListItem>大专</asp:ListItem>
                        <asp:ListItem>本科</asp:ListItem>
                        <asp:ListItem>研究生</asp:ListItem>
                        <asp:ListItem>博士</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px">
                    状态:</td>
                <td style="width: 100px">
                    <asp:RadioButtonList ID="rab_state" runat="server" RepeatDirection="Horizontal"
                        Width="122%">
                        <asp:ListItem Selected="True">启用</asp:ListItem>
                        <asp:ListItem>禁用</asp:ListItem>
                    </asp:RadioButtonList></td>
                <td style="width: 100px">
                </td>
                <td style="width: 100px">
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Button ID="btn_submit" runat="server" Text="增加" OnClick="btn_submit_Click" /></td>
            </tr>
        </table>
        <asp:GridView ID="Grvstudent" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="id" Visible="False" />
                <asp:BoundField DataField="landnames" HeaderText="登陆名" />
                <asp:BoundField DataField="password" HeaderText="密码" />
                <asp:BoundField DataField="names" HeaderText="姓名" />
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
       
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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