📄 studentadd.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="studentadd.aspx.cs" Inherits="studentadd" %>
<!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>
<table id="table1" align="center" border="1" bordercolor="#2c6ed5" cellpadding="2"
cellspacing="0" style="font-size: 12px; font-family: Tahoma; border-collapse: collapse"
width="280">
<tr>
<td align="center" colspan="2" style="height: 58px">
<font face="隶书" size="6">添加学生</font><br />
<asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</td>
</tr>
<tr>
<td>
学号:</td>
<td>
<asp:TextBox ID="txtID" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>
姓名:</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>
密码:</td>
<td>
<asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 24px">
系院:</td>
<td style="height: 24px">
<asp:DropDownList ID="txtDepart" runat="server">
<asp:ListItem>计算机科学系</asp:ListItem>
<asp:ListItem>数学系</asp:ListItem>
<asp:ListItem>地理系</asp:ListItem>
<asp:ListItem>中文系</asp:ListItem>
<asp:ListItem>外语系</asp:ListItem>
<asp:ListItem>音乐系</asp:ListItem>
<asp:ListItem>艺术系</asp:ListItem>
<asp:ListItem>服装系</asp:ListItem>
<asp:ListItem>电子系</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td>
年级:</td>
<td>
<asp:DropDownList ID="txtGrade" runat="server" Width="60px">
<asp:ListItem>2000</asp:ListItem>
<asp:ListItem>2001</asp:ListItem>
<asp:ListItem>2002</asp:ListItem>
<asp:ListItem>2003</asp:ListItem>
<asp:ListItem>2004</asp:ListItem>
<asp:ListItem>2005</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
<asp:ListItem>2007</asp:ListItem>
<asp:ListItem>2008</asp:ListItem>
<asp:ListItem>2009</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td>
班级:</td>
<td>
<asp:DropDownList ID="txtClass" runat="server" Width="60px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:ImageButton ID="imgBtnAdd" runat="server" ImageUrl="~/images/admin/ADD.GIF"
OnClick="imgBtnAdd_Click" />
<asp:ImageButton ID="imgBtnReset"
runat="server" ImageUrl="~/images/admin/RESET.GIF" OnClick="imgBtnReset_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -