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

📄 admin_addnews.aspx

📁 一个出售宠物的网站,比较全面
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="control" Src="control.ascx" %>
<%@ Register TagPrefix="uc1" TagName="foot" Src="foot.ascx" %>
<%@ Register TagPrefix="uc1" TagName="top" Src="top.ascx" %>
<%@ Page language="c#" Codebehind="admin_Addnews.aspx.cs" AutoEventWireup="false" Inherits="hellopet.admin_Addnews" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
	<title>admin_Addnews</title>
	<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">
    </HEAD>
    <body>
	<form id="Form1" method="post" runat="server">
	    <FONT face="宋体">
		<TABLE id="Table1" borderColor="#6495ed" cellSpacing="0" cellPadding="1" width="824" align="center"
		    border="1">
		    <TR>
			<TD><uc1:top id="Top1" runat="server"></uc1:top></TD>
		    </TR>
		    <TR>
			<TD>
			    <TABLE id="Table2" cellSpacing="0" cellPadding="0" width="824" align="center" border="0">
				<TR>
				    <TD style="HEIGHT: 282px" vAlign="top" width="168"><uc1:control id="Control1" runat="server"></uc1:control></TD>
				    <TD style="HEIGHT: 282px" vAlign="top">
					<TABLE id="Table3" style="FONT-SIZE: 10pt" cellSpacing="0" cellPadding="0" width="100%"
					    align="center" border="0">
					    <TR>
						<TD style="COLOR: white" align="center" bgColor="#7698dd" height="30">网站新闻添加</TD>
					    </TR>
					    <TR>
						<TD style="HEIGHT: 151px" vAlign="top">
						    <TABLE id="Table4" style="FONT-SIZE: 10pt" borderColor="white" cellSpacing="0" cellPadding="1"
							width="100%" bgColor="#e9eef6" border="1">
							<TR>
							    <TD style="WIDTH: 126px" align="right">新闻标题:</TD>
							    <TD style="WIDTH: 424px"><asp:textbox id="topic" runat="server" Width="264px"></asp:textbox></TD>
							    <TD><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="topic" ErrorMessage="*"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
							    <TD style="WIDTH: 126px; HEIGHT: 20px" align="right">新闻类别:</TD>
							    <TD style="WIDTH: 424px; HEIGHT: 20px"><asp:dropdownlist id="leibie" runat="server" Width="264px">
								    <asp:ListItem Value="新闻在线">新闻在线</asp:ListItem>
								    <asp:ListItem Value="专家咨询">专家咨询</asp:ListItem>
								</asp:dropdownlist></TD>
							    <TD style="HEIGHT: 20px"></TD>
							</TR>
							<TR>
							    <TD style="WIDTH: 126px" align="right">新闻内容:</TD>
							    <TD style="WIDTH: 424px"><TEXTAREA id="content" style="WIDTH: 416px; HEIGHT: 184px" name="TEXTAREA1" rows="11" cols="49"
								    runat="server">								</TEXTAREA></TD>
							    <TD><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="content" ErrorMessage="*"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
							    <TD style="WIDTH: 126px; HEIGHT: 14px" align="right">新闻图片:</TD>
							    <TD style="WIDTH: 424px; HEIGHT: 14px"><INPUT id="upImage" style="WIDTH: 216px; HEIGHT: 22px" type="file" size="16" name="File1"
								    runat="server">(只能上传.gif、.jpg格式图片)</TD>
							    <TD style="HEIGHT: 14px"></TD>
							</TR>
						    </TABLE>
						</TD>
					    </TR>
					    <TR>
						<TD align="center"><asp:button id="Button1" runat="server" Text="添加"></asp:button>&nbsp;&nbsp;&nbsp;
						    <INPUT type="reset" value="重填">&nbsp;&nbsp;
						    <asp:hyperlink id="HyperLink1" runat="server" NavigateUrl="admin_Viewnews.aspx">返回</asp:hyperlink></TD>
					    </TR>
					    <TR>
						<TD style="COLOR: red">注:后面有*的为必填内容</TD>
					    </TR>
					</TABLE>
				    </TD>
				</TR>
			    </TABLE>
			</TD>
		    </TR>
		    <TR>
			<TD><uc1:foot id="Foot1" runat="server"></uc1:foot></TD>
		    </TR>
		</TABLE>
	    </FONT>
	</form>
    </body>
</HTML>

⌨️ 快捷键说明

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