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

📄 addnews.aspx

📁 asp做的新闻系统
💻 ASPX
字号:
<%@ Page language="c#" Inherits="news.Add" CodeFile="AddNews.aspx.cs" %>
<HTML>
	<HEAD>
		<title>添加新闻</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link rel="stylesheet" href="Style.css" type="text/css">
	</HEAD>
	<body text="#000000">
		<form enctype="multipart/form-data" runat="server" ID="Form1">
			<table width="50%" border="0" align="center">
				<tr>
					<td colspan="2">
						<asp:label id="Span1" runat="server"></asp:label>
						<DIV align="center">
							<asp:Label id="Label1" ForeColor="Red" runat="server" /></DIV>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<div align="center"><b>添加新闻</b></div>
					</td>
				</tr>
				<tr>
					<td colspan="2">
					</td>
				</tr>
				<table>
				</table>
				<table width="477" align="center" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid; BORDER-COLLAPSE: collapse"
					borderColor="#dddddd" cellSpacing="0" cellPadding="0" bgColor="whitesmoke" borderColorLight="#dddddd"
					border="1" height="393">
					<tr>
						<TD height="24" width="85">类别:</TD>
						<td colspan="2" height="24">
							<asp:DropDownList id="DropDownList2" runat="server" />
						</td>
					</tr>
					<tr>
						<TD width="85">标题:</TD>
						<td colspan="2"><asp:textbox class="input" id="Title" runat="server" Width="432px" /></td>
					</tr>
					<tr>
						<TD width="85">内容:</TD>
						<td colspan="2"><asp:textbox class="input" id="Content" TextMode="MultiLine" Height="236px" Width="432px" runat="server" /></td>
					</tr>
					<tr>
						<TD width="85">作者:</TD>
						<td colspan="2"><asp:textbox class="input" id="Auth" runat="server" Width="224px" /></td>
					</tr>
					<tr>
						<TD width="85">图片:</TD>
						<td width="73%" colSpan="2"><INPUT class="input" id="File1" type="file" accept="Image/*" name="File1" runat="server"
								size="50">
						</td>
					</tr>
					<tr>
						<TD align="center" colSpan="3" height="35">
							<P align="center"><INPUT class="input1" id="BtnOK" type="button" value="确定" name="BtnOK" runat="server" onserverclick="BtnOK_ServerClick">
								<INPUT class="input1" id="BtnCancel" type="button" value="取消" name="BtnCancel" runat="server" onserverclick="BtnCancel_ServerClick">
							</P>
						</TD>
					</tr>
				</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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