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

📄 sys_xueke.aspx

📁 ASP开发的非常简洁的在线报名系统。这个代码在网上很流行
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="sys_xueke.aspx.cs" AutoEventWireup="false" Inherits="baoming.admin.sys_xueke" codePage="936" %>
<%@ Register TagPrefix="iewc" 
         Namespace="Microsoft.Web.UI.WebControls" 
         Assembly="Microsoft.Web.UI.WebControls" %>
<HTML>
	<HEAD>
		<title>学科管理</title>
		<meta content="True" name="vs_snapToGrid">
		<meta content="True" name="vs_showGrid">
		<meta content="SharePoint.WebPartPage.Document" name="ProgId">
		<meta content="full" name="WebPartPageExpansion">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="css/style.css" type="text/css" rel="stylesheet">
		<script language="javascript">

	
		</script>
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<table id="table1" cellPadding="2" width="100%" bgColor="#e4eaf2" border="0">
				<tr>
					<td bgColor="#ffffff">
						<table width="100%">
							<tr>
								<td class="header" style="HEIGHT: 21px" colSpan="2" height="21">&nbsp; 学科管理</td>
							</tr>
							<TR>
								<TD vAlign="top" align="left" width="30%" bgColor="#ffffff"><iewc:treeview id="TreeView1" runat="server" ExpandLevel="1" AutoPostBack="True"></iewc:treeview></TD>
								<TD vAlign="top" align="left" bgColor="#ffffff">
									<TABLE id="table2" cellPadding="2" width="100%" bgColor="#e4eaf2" border="0">
										<TR>
										</TR>
									</TABLE>
									<table width="100%">
										<tr>
											<td class="header" style="HEIGHT: 21px" height="21">&nbsp;
												<asp:button id="btnDelete" runat="server" Text="删除" CausesValidation="False" Width="48px"></asp:button><asp:button id="btnEdit" runat="server" Text="修 改" CausesValidation="False" Width="48px"></asp:button><asp:button id="btnAddChild" runat="server" Text="添加子类" CausesValidation="False" Width="62px"></asp:button></td>
										</tr>
										<TR>
											<TD vAlign="top" align="left" bgColor="#ffffff"><FIELDSET style="WIDTH: 59.69%; HEIGHT: 194px"><LEGEND><B>基本信息</B></LEGEND>
													<TABLE id="table4" cellSpacing="1" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
														<TR>
															<TD width="30%" bgColor="#f7f3f7">上级分类</TD>
															<TD width="144" bgColor="#f7f3f7"><FONT color="#ff0000"><asp:textbox id="tbParent" runat="server" Enabled="False"></asp:textbox></FONT></TD>
														</TR>
														<TR>
															<TD width="30%" bgColor="#f7f3f7">学科名称</TD>
															<TD width="144" bgColor="#f7f3f7"><FONT color="#ff0000"><asp:textbox id="tbName" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tbName" ErrorMessage="类别名称不能为空">*</asp:requiredfieldvalidator></FONT></TD>
														</TR>
														<TR>
															<TD style="HEIGHT: 25px" width="30%" bgColor="#f7f3f7"><SPAN lang="en-us">开始时间</SPAN></TD>
															<TD noWrap bgColor="#f7f3f7"><asp:textbox id="tbStartTime" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tbStartTime">*</asp:requiredfieldvalidator><FONT face="宋体"></FONT><asp:comparevalidator id="CompareValidator1" runat="server" ControlToValidate="tbStartTime" ErrorMessage="错误的时间格式"
																	Type="Date" Operator="DataTypeCheck">Error</asp:comparevalidator></TD>
														</TR>
														<TR>
															<TD style="HEIGHT: 21px" width="30%" bgColor="#f7f3f7"><SPAN lang="en-us">结束时间</SPAN></TD>
															<TD style="HEIGHT: 21px" bgColor="#f7f3f7"><asp:textbox id="tbEndTime" runat="server"></asp:textbox><asp:comparevalidator id="CompareValidator2" runat="server" ControlToValidate="tbEndTime" ErrorMessage="结束时间要大于开始时间"
																	Type="Date" Operator="GreaterThan" ControlToCompare="tbStartTime">Error</asp:comparevalidator></TD>
														</TR>
														<TR>
															<TD style="HEIGHT: 12px" width="30%" bgColor="#f7f3f7"><SPAN lang="en-us">报名形式</SPAN></TD>
															<TD style="HEIGHT: 12px" width="144" bgColor="#f7f3f7"><asp:dropdownlist id="Dropbaoming" runat="server" AutoPostBack="True" Enabled="False">
																	<asp:ListItem Value="0" Selected="True">请选择</asp:ListItem>
																	<asp:ListItem Value="1">网上报名</asp:ListItem>
																	<asp:ListItem Value="3">电子邮件</asp:ListItem>
																	<asp:ListItem Value="4">QQ报名</asp:ListItem>
																</asp:dropdownlist></TD>
														</TR>
														<TR>
															<TD style="DISPLAY: none" width="30%" bgColor="#f7f3f7"><asp:label id="lbBaoming" runat="server"></asp:label></TD>
															<TD style="DISPLAY: none" width="144" bgColor="#f7f3f7"><asp:textbox id="tbBaoming" runat="server"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ControlToValidate="tbBaoming">*</asp:regularexpressionvalidator><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="tbBaoming" ErrorMessage="请填入必要的信息">*</asp:requiredfieldvalidator></TD>
														</TR>
														<TR>
															<TD width="30%" bgColor="#f7f3f7">管 理 员</TD>
															<TD width="144" bgColor="#f7f3f7">
																<asp:DropDownList id="DropAdmin" runat="server" Width="72px"></asp:DropDownList></TD>
														</TR>
													</TABLE>
												</FIELDSET>
											</TD>
										</TR>
										<tr>
											<td vAlign="top" align="left" bgColor="#ffffff"><FIELDSET style="WIDTH: 59.61%"><LEGEND><B>其它信息</B></LEGEND>
													<TABLE id="table3" cellSpacing="1" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
														<TR>
															<TD style="WIDTH: 54px; HEIGHT: 22px" width="30%" bgColor="#f7f3f7"></TD>
															<TD bgColor="#f7f3f7"><asp:listbox id="ListBoxExt" runat="server" Width="300px" Height="120px"></asp:listbox></TD>
														</TR>
													</TABLE>
												</FIELDSET>
											</td>
										</tr>
									</table>
								</TD>
							</TR>
						</table>
					</td>
				</tr>
			</table>
			</TD></TR></TABLE></form>
	</body>
</HTML>

⌨️ 快捷键说明

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