webform1.aspx

来自「Csharp实例编程百例.rar」· ASPX 代码 · 共 30 行

ASPX
30
字号
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebControl2.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<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">
			<FONT face="宋体">
				<asp:CheckBoxList id="CheckBoxList1" style="Z-INDEX: 101; LEFT: 187px; POSITION: absolute; TOP: 20px" runat="server" Width="132px">
					<asp:ListItem Value="苹果">苹果</asp:ListItem>
					<asp:ListItem Value="香蕉">香蕉</asp:ListItem>
					<asp:ListItem Value="葡萄">葡萄</asp:ListItem>
					<asp:ListItem Value="草莓">草莓</asp:ListItem>
					<asp:ListItem Value="菠萝">菠萝</asp:ListItem>
				</asp:CheckBoxList>
				<asp:Label id="Label1" style="Z-INDEX: 104; LEFT: 49px; POSITION: absolute; TOP: 223px" runat="server" Width="265px" Height="119px"></asp:Label>
				<asp:Button id="Button1" style="Z-INDEX: 103; LEFT: 253px; POSITION: absolute; TOP: 167px" runat="server" Width="67px" Text="确定"></asp:Button>
				<asp:RadioButtonList id="RadioButtonList1" style="Z-INDEX: 102; LEFT: 48px; POSITION: absolute; TOP: 19px" runat="server" Width="112px" Height="65px" AutoPostBack="True">
					<asp:ListItem Value="垂直排列" Selected="True">垂直排列</asp:ListItem>
					<asp:ListItem Value="水平排列">水平排列</asp:ListItem>
				</asp:RadioButtonList></FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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