studyradiobuttonlist.aspx

来自「该文件包括了WEB标单控件应用的所有实例代码」· ASPX 代码 · 共 32 行

ASPX
32
字号
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="studyRadioButtonList.aspx.vb" Inherits="studyRadioButtonList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Using RadioButtonList</title>
</head>
<body>
    <h3>Your main programming language:</h3>
    <form id="form1" runat="server" method ="post" >
        <asp:RadioButtonList ID ="RadioButtonList1" runat ="server" >
            <asp:ListItem >Assembly</asp:ListItem>
            <asp:ListItem >Cobol</asp:ListItem>
            <asp:ListItem >C++</asp:ListItem>
            <asp:ListItem >Java</asp:ListItem>
        </asp:RadioButtonList>
        <p></p>
        <asp:CheckBox ID ="chkLayout" OnCheckedChanged ="chkLayou_CheckChanged" Text ="Display Table Layout" Checked ="true" 
             runat ="server" />
        <br />
        <asp:CheckBox ID ="chkDirection" OnCheckedChanged ="chkDirection_CheckedChanged" Text ="Display Horizontally"
             AutoPostBack ="true" runat ="server" />
        <p></p>
        <asp:Button ID ="button1" Text ="Submit" OnClick ="Button_click" runat ="server" />
        <p></p>
        <asp:Label ID ="Label1" runat ="server" ></asp:Label>
    
    </form>
</body>
</html>

⌨️ 快捷键说明

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