📄 cookie.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cookie.aspx.cs" Inherits="_Default" %>
<!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 border="1" style="width: 40%">
<tr>
<td colspan="2" style="text-align: center">
用户登录</td>
</tr>
<tr>
<td>
用户名:</td>
<td >
<asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox></td>
</tr>
<tr>
<td>
密 码:</td>
<td >
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td width="34%">
Cookie有效期:</td>
<td style="width: 336px"><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1" Selected="True">1天</asp:ListItem>
<asp:ListItem Value="2">1个月</asp:ListItem>
<asp:ListItem Value="3">半年</asp:ListItem>
<asp:ListItem Value="4">1年</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<asp:Button ID="btnlog" runat="server" Text="登录" OnClick="btnlog_Click" />
<asp:Button ID="btnreg" runat="server" Text="注册" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -