applyradiobuttonlist.aspx
来自「asp.net专家200问(含源代码解决法案」· ASPX 代码 · 共 28 行
ASPX
28 行
<%@ Page language="c#" Codebehind="ApplyRadioButtonList.aspx.cs" AutoEventWireup="false" Inherits="ApplyRadioButtonList.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">
<asp:RadioButtonList id="RadioButtonList1" style="Z-INDEX: 101; LEFT: 328px; POSITION: absolute; TOP: 216px" runat="server">
<asp:ListItem Value="Item1">Item1</asp:ListItem>
<asp:ListItem Value="Item2">Item2</asp:ListItem>
<asp:ListItem Value="Item3">Item3</asp:ListItem>
<asp:ListItem Value="Item4">Item4</asp:ListItem>
<asp:ListItem Value="Item5">Item5</asp:ListItem>
<asp:ListItem Value="Item6">Item6</asp:ListItem>
</asp:RadioButtonList>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 336px; POSITION: absolute; TOP: 392px" runat="server" Text="Button"></asp:Button>
<asp:Label id="Label1" style="Z-INDEX: 103; LEFT: 304px; POSITION: absolute; TOP: 128px" runat="server"></asp:Label>
<asp:CheckBox id="chkLayout" style="Z-INDEX: 104; LEFT: 208px; POSITION: absolute; TOP: 176px" runat="server" Text="Display Table Layout" AutoPostBack="True"></asp:CheckBox>
<asp:CheckBox id="chkDirection" style="Z-INDEX: 105; LEFT: 384px; POSITION: absolute; TOP: 176px" runat="server" Text="Display Horizontally" AutoPostBack="True"></asp:CheckBox>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?