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

📄 st_addstudent.aspx

📁 学生管理系统。C#开发。偏重与数据库的应用。
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ST_addstudent.aspx.cs" Inherits="ST_addstudent" %>
<%@ Register TagPrefix="uc1" TagName="st_navigate" Src="ST_COMMAN/st_navigate.ascx" %>
<%@ Register TagPrefix="uc1" TagName="st_header" Src="ST_COMMAN/st_header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="st_bottom" Src="ST_COMMAN/st_bottom.ascx" %>
<!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="ST_COMMAN/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc1:st_header ID="St_header1" runat="server" />
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="777">
            <tr>
                <td valign="top" width="15%">
                    <uc1:st_navigate ID="St_navigate1" runat="server" />
                </td>
                <td style="color: #333333">
                    <table id="Table1" align="center" border="0" cellpadding="1" cellspacing="1" width="100%">
                        <tr>
                            <td colspan="3">
                                <p align="center">
                                    <strong>添加学生</strong>信息</p>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <strong>学号:</strong></p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_id" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                <font face="宋体">*
                                    <asp:CustomValidator ID="st_cv_id" runat="server" ControlToValidate="st_tbx_id" ErrorMessage="学生已存在"
                                        OnServerValidate="st_cv_id_ServerValidate"></asp:CustomValidator><asp:RequiredFieldValidator
                                            ID="st_rfv_id" runat="server" ControlToValidate="st_tbx_id" ErrorMessage="不为空"></asp:RequiredFieldValidator></font></td>
                        </tr>
                        <tr style="font-size: 10pt; color: #ff3333">
                            <td style="width: 185px">
                                <p align="right">
                                    姓名:</p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_name" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_name" runat="server" ControlToValidate="st_tbx_name"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr style="color: #333333">
                            <td style="width: 185px">
                                <p align="right">
                                    性别:</p>
                            </td>
                            <td>
                                <asp:DropDownList ID="st_ddl_sex" runat="server">
                                    <asp:ListItem Value="男">男</asp:ListItem>
                                    <asp:ListItem Value="女">女</asp:ListItem>
                                </asp:DropDownList></td>
                            <td>
                                *</td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <strong>民族:</strong></p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_nation" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_nation" runat="server" ControlToValidate="st_tbx_nation"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <em>&nbsp;</em><strong>生日:</strong></p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_birthst_day" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_birthst_day" runat="server" ControlToValidate="st_tbx_birthst_day"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <strong>入学时间:</strong></p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_time" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_time" runat="server" ControlToValidate="st_tbx_time"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <strong>班级:</strong></p>
                            </td>
                            <td>
                                <asp:DropDownList ID="st_ddl_class" runat="server">
                                </asp:DropDownList></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_class" runat="server" ControlToValidate="st_ddl_class"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <strong>籍贯:</strong></p>
                            </td>
                            <td>
                                <asp:TextBox ID="st_tbx_home" runat="server" Width="100px"></asp:TextBox></td>
                            <td>
                                *
                                <asp:RequiredFieldValidator ID="st_rfv_home" runat="server" ControlToValidate="st_tbx_home"
                                    ErrorMessage="不为空"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <p align="right">
                                    <font face="宋体"><strong>备注:</strong></font></p>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="st_tbx_else" runat="server" Height="62px" TextMode="MultiLine" Width="223px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <font color="#0066ff" face="宋体" size="2"></font>
                            </td>
                            <td colspan="2">
                                &nbsp; &nbsp; <font color="#ff3333" face="宋体" size="2">附:带*的项为必填项</font>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 185px">
                                <font color="#0066ff" face="宋体" size="2"></font>
                            </td>
                            <td colspan="2">
                                &nbsp; &nbsp; &nbsp;<asp:Button ID="st_btn_ok" runat="server" OnClick="st_btn_ok_Click"
                                    Text="确定" />
                                <asp:Button ID="st_btn_reset" runat="server" OnClick="st_btn_reset_Click" Text="重置" />
                                <asp:Label ID="st_lbl_note" runat="server"></asp:Label></td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <p align="center">
                                    <a href="ST_student.aspx">返回</a></p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <uc1:st_bottom ID="St_bottom1" runat="server" />
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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