📄 test7.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test7.aspx.cs" Inherits="backup_test7" %>
<!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>
<table style="width: 426px; height: 95px">
<tr>
<td align="center" colspan="5" style="width: 422px; height: 17px; text-align: center">
请传来的是data:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" colspan="5" style="width: 422px; height: 17px; text-align: center">
<table style="width: 426px; height: 95px">
<tr>
<td align="center" colspan="5" style="width: 422px; height: 17px; text-align: center">
测试下application对象:
</td>
</tr>
<tr>
<td align="center" colspan="5" style="width: 422px; height: 17px; text-align: center">
您是第<asp:Label ID="Label2" runat="server"></asp:Label>个来到本站的人 !!</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" colspan="5" style="width: 422px; height: 17px; text-align: center">
测试下calendar控件:<asp:TextBox ID="TextBox2" runat="server" AutoPostBack="True" ></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="选择日期" /> <asp:Calendar ID="Calendar1" runat="server" Visible="False" OnSelectionChanged="Calendar1_SelectionChanged"></asp:Calendar>
<br />
</td>
</tr>
<tr>
<td align="center" colspan="5" rowspan="1" style="width: 422px; height: 17px; text-align: center">
<asp:Label ID="Label1" runat="server"></asp:Label>
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="测试application" />
<asp:Panel ID="Panel1" runat="server" Height="50px" Visible="False" Width="125px">
<table style="width: 426px; height: 95px">
<tr>
<td align="center" colspan="5" rowspan="1" style="width: 422px; height: 17px; text-align: center">
请选择你要的职位,可以多选:</td>
</tr>
<tr>
<td id="Td1" align="left" colspan="5" rowspan="3" style="width: 422px; height: 17px;
text-align: center">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" >
<asp:ListItem Value="1">程序员</asp:ListItem>
<asp:ListItem Value="2">系统分析员</asp:ListItem>
<asp:ListItem Value="3">测试员</asp:ListItem>
<asp:ListItem Value="4">质保人员</asp:ListItem>
<asp:ListItem Value="5">技术支持</asp:ListItem>
<asp:ListItem Value="6">数据库设计师</asp:ListItem>
<asp:ListItem Value="7">构架师</asp:ListItem>
</asp:CheckBoxList>
<asp:Button ID="Button3" runat="server" Text="到test8去看" OnClick="Button3_Click" /> </td>
</tr>
<tr>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -