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

📄 addstudent_allinfo.aspx

📁 项目开发完整系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addstudent_allinfo.aspx.cs" Inherits="jiaowu_sys_student_allinfo_set_addstudent_allinfo" %>

<!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="~/css/mm.css" rel="stylesheet" type="text/css" />
</head>
<body style="font-size: 12pt; font-family: Times New Roman">
    <form id="form1" runat="server">
    <div>
        <table border="1" cellpadding="0" cellspacing="0" style="height: 307px">
            <tr>
                <td colspan="3">
                    新增学生综合信息</td>
            </tr>
            <tr>
                <td style="width: 139px">
                    学生编号</td>
                <td style="width: 116px">
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
                        DataTextField="class_name" DataValueField="class_ID">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
                        SelectCommand="SELECT [class_ID], [class_name] FROM [class]"></asp:SqlDataSource>
                </td>
                <td style="width: 194px">
                    <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2"
                        DataTextField="student_name" DataValueField="student_ID">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
                        SelectCommand="SELECT [student_ID], [class_ID], [student_name] FROM [student_info] WHERE ([class_ID] = @class_ID)">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1" Name="class_ID"
                                PropertyName="SelectedValue" Type="Int32" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                    </td>
            </tr>
            <tr>
                <td style="width: 139px; height: 21px;">
                    类型</td>
                <td style="width: 116px; height: 21px;">
                    <asp:TextBox ID="TBxstudent_type" runat="server"></asp:TextBox></td>
                <td style="width: 194px; height: 21px;">
                </td>
            </tr>
            <tr>
                <td style="width: 139px; height: 21px;">
                    年度信息</td>
                <td style="width: 116px; height: 21px;">
                    <asp:DropDownList ID="Drop_year" runat="server" Width="127px">
                        <asp:ListItem Selected="True">2006-2007</asp:ListItem>
                        <asp:ListItem>2007-2008</asp:ListItem>
                        <asp:ListItem>2008-2009</asp:ListItem>
                    </asp:DropDownList></td>
                <td style="width: 194px; height: 21px;">
                </td>
            </tr>
            <tr>
                <td style="width: 139px; height: 21px;">
                    学期信息</td>
                <td style="width: 116px; height: 21px;">
                    <asp:DropDownList ID="Drop_term" runat="server" Width="57px">
                        <asp:ListItem Selected="True">1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                <td style="width: 194px; height: 21px;">
                </td>
            </tr>
            <tr>
                <td style="width: 139px; height: 77px;">
                    学生信息内容</td>
                <td style="width: 116px; height: 77px;">
                    &nbsp;<asp:TextBox ID="TBxstudent_content" runat="server" TextMode="MultiLine" Height="139px"></asp:TextBox></td>
                <td style="width: 194px; height: 77px;">
                </td>
            </tr>
            <tr>
                <td style="width: 139px; height: 101px;">
                    &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
                <td style="width: 116px; height: 101px;">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp;<asp:Button ID="Addallstud" runat="server" Text="添加" Width="82px" OnClick="Addallstud_Click" /> &nbsp;&nbsp;</td>
                <td style="width: 194px; height: 101px;">
                <asp:Button ID="resetstudall" runat="server"
                        Text="重置" Width="81px" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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