📄 test5.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test5.aspx.cs" Inherits="backup_test5" %>
<!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>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div id="content" style="vertical-align: middle; text-align: center" >
<table style="width: 426px; height: 95px">
<tr>
<td align="center" colspan="5" style="width: 424px; height: 17px; text-align: center">
请选择要测试的控件:<asp:DropDownList ID="DLs" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DLs_SelectedIndexChanged">
<asp:ListItem Selected="True" Value="1">请选择</asp:ListItem>
<asp:ListItem Value="2">rediobutton</asp:ListItem>
<asp:ListItem Value="3">checkbox</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td colspan="5" style="width: 424px; height: 17px; text-align: center" align="center">
<asp:Panel ID="Panelc" runat="server" Height="100px" Width="267px" Visible="False">
<asp:CheckBox ID="CB1" runat="server" Text="第一个选项" /><br /><asp:CheckBox ID="CheckBox1" runat="server" Text="第二个选项" /></asp:Panel>
<asp:Panel ID="Panelr" runat="server" Height="114px" Width="266px" Visible="False">
<asp:RadioButton ID="RB1" runat="server" GroupName="1" Text="第一个选项" />
<br />
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="1" Text="第二个选项" /></asp:Panel>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="确定" Visible="False" />
</td>
</tr>
<tr>
<td align="center" colspan="5" style="width: 424px; height: 17px; text-align: center">
您进行了<asp:Label ID="Labeljg" runat="server"></asp:Label>操作</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -