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

📄 todaylongion.aspx

📁 程序中带有大量的实例,采用多种方式优化代码,这初学者很好的学习资料
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="TodayLongion.aspx.cs" AutoEventWireup="false" Inherits="Web.Longion" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>TodayLongion</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table style="WIDTH: 646px" align="center">
				<tr>
					<td align="center" colspan="3" rowspan="2">
						<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="XX-Large" ForeColor="#0000C0"
							Text="每日一言维护" Width="642px"></asp:Label></td>
				</tr>
				<tr>
				</tr>
				<tr>
					<td>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<table border="1" align="center">
				<tr>
					<td style="WIDTH: 177px; HEIGHT: 21px">
						<asp:Label ID="Label2" runat="server" Text="编号:" Width="164px"></asp:Label></td>
					<td style="WIDTH: 459px; HEIGHT: 21px" colspan="2">
						<asp:TextBox ID="TextBox1" runat="server" CausesValidation="True" Width="177px" ReadOnly="True"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 177px">
						<asp:Label ID="Label3" runat="server" Text="内容:" Width="164px" style="display:none"></asp:Label>内容:<font color=red size=2>[70字以内]</font></td>
					<td style="WIDTH: 459px" colspan="2">
						<asp:TextBox ID="TextBox2" runat="server" Width="452px" Height="65px" TextMode="MultiLine"></asp:TextBox></td>
				</tr>
			</table>
			<br>
			<asp:Label ID="Label4" runat="server" Text="    " Width="644px"></asp:Label><br>
			<br>
			<table align="center">
				<tr>
					<td style="WIDTH: 209px">
					</td>
					<td style="WIDTH: 213px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:Button id="Button1" runat="server" Text="保存"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:Button id="Button2" runat="server" Text="取消"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:Button id="Button3" runat="server" Text="返回"></asp:Button></td>
					<td style="WIDTH: 220px">
					</td>
				</tr>
				<tr>
					<td colspan="3">
						<asp:DataGrid id="DataGrid1" runat="server" Width="648px" CellPadding="4" AutoGenerateColumns="False"
							BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px">
							<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
							<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
							<HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
							<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
							<Columns>
								<asp:BoundColumn DataField="LongionId" HeaderText="编号"></asp:BoundColumn>
								<asp:BoundColumn DataField="Longion" HeaderText="每日一言"></asp:BoundColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
						</asp:DataGrid>
					</td>
				</tr>
				<tr>
					<td style="WIDTH: 209px">
					</td>
					<td style="WIDTH: 213px">
					</td>
					<td style="WIDTH: 220px">
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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