📄 add_student.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_Student.aspx.cs" Inherits="add_Student" %>
<!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">
<%--<LINK href="style.css" type="text/css" rel="stylesheet">--%>
<link href ="StyleSheet.css" type ="text/css" rel ="Stylesheet" />
<title>无标题页</title>
</head>
<body scroll="no">
<form id="form1" runat="server">
<table style="width: 559px; height: 340px;" align="center" border="1" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td align="center" colspan="4" style="font-weight: bold; font-size: 25px; color: white;
font-family: 楷体_GB2312; height: 18px; background-color: #00ffff; text-decoration: underline; background-image: url(BG/007.jpg);">
学生信息添加</td>
</tr>
<tr>
<td style="width: 133px; text-align: center" height="50">
<asp:Label ID="Label4" runat="server" Text="姓名:"></asp:Label></td>
<td style="width: 160px; text-align: center" height="50">
<asp:TextBox ID="TextBox7" runat="server" CssClass="txt"></asp:TextBox></td>
<td style="width: 98px; text-align: center" height="50">
<asp:Label ID="Label11" runat="server" Text="家庭地址:"></asp:Label></td>
<td style="width: 61px; text-align: left" height="50">
<asp:TextBox ID="TextBox8" runat="server" Height="26px" TextMode="MultiLine" Width="160px" CssClass="txt"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 133px; text-align: center;" height="60">
<asp:Label ID="Label2" runat="server" Text="班级:"></asp:Label></td>
<td style="width: 160px; text-align: center;" height="60">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList>
<asp:TextBox ID="TextBox11" runat="server" Width="79px" Height="15px"></asp:TextBox> </td>
<td style="width: 98px; text-align: center;" height="60">
<asp:Label ID="Label9" runat="server" Text="性别:"></asp:Label></td>
<td style="width: 61px; text-align: left;" height="60">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Height="9px" RepeatDirection="Horizontal"
Width="42px">
<asp:ListItem Value="0">男</asp:ListItem>
<asp:ListItem Value="1">女</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td style="width: 133px; height: 20px; text-align: center;">
<asp:Label ID="Label3" runat="server" Text="联系电话:"></asp:Label></td>
<td style="width: 160px; height: 20px">
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
<td style="width: 98px; height: 20px; text-align: center;">
<asp:Label ID="Label10" runat="server" Text="年龄:"></asp:Label></td>
<td style="width: 61px; height: 20px; text-align: left;">
<asp:TextBox ID="TextBox9" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 133px; height: 22px; text-align: center;">
<asp:Label ID="Label5" runat="server" Text="入学时间:"></asp:Label></td>
<td style="width: 160px; height: 22px; text-align: center;">
<asp:TextBox ID="TextBox12" runat="server" Width="79px"></asp:TextBox></td>
<td style="width: 98px; height: 22px;">
<asp:Label ID="Label8" runat="server" Text="政治面貌:" Height="29px" Width="69px"></asp:Label></td>
<td style="width: 61px; height: 22px;">
<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 133px; height: 32px; text-align: center">
<asp:Label ID="Label6" runat="server" Text="民族:"></asp:Label></td>
<td style="width: 160px; height: 32px">
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></td>
<td rowspan="1" style="width: 98px; height: 32px">
<asp:Label ID="Label7" runat="server" Text="籍贯:"></asp:Label></td>
<td rowspan="1" style="width: 61px; height: 32px">
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td colspan="1" rowspan="2" style="height: 71px">
备注:</td>
<td colspan="4" rowspan="2" style="height: 71px">
<asp:TextBox ID="TextBox2" runat="server" Height="69px" TextMode="MultiLine" Width="462px"></asp:TextBox></td>
</tr>
<tr>
</tr>
<tr>
<td colspan="4" style="text-align: center" align="center" height="30">
<table border="0" cellpadding="0" cellspacing="0" style="width: 182px; border-top-style: none;
border-right-style: none; border-left-style: none; height: 10px; border-bottom-style: none">
<tr>
<td align="right" style="width: 100px; height: 24px;">
<asp:Button ID="Button1" runat="server" Text="确 定" OnClick="Button1_Click" /></td>
<td style="width: 100px; height: 24px;">
<asp:Button ID="Button2" runat="server"
Text="取 消" OnClick="Button2_Click" /></td>
<td align="right" style="width: 100px; height: 24px;" valign="bottom">
<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Blue" NavigateUrl="~/EditStudent.aspx"
Target="_parent">返回</asp:HyperLink></td>
</tr>
</table>
</td>
<td colspan="1" style="height: 42px; text-align: center">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -