📄 masterpage1.master
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage1.master.cs" Inherits="MasterPage1" %>
<!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: 375px; height: 1px" align="center" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" style="font-weight: bold; font-size: 24pt; color: black; text-align: center">
母版页的使用</td>
</tr>
<tr>
<td style="width: 215px; vertical-align: top; text-align: center;">
<asp:Label ID="Label1" runat="server" Width="66px">用户名:</asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Width="73px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="登录" OnClick="Button1_Click" />
<br />
<asp:Label ID="Label2" runat="server" Visible="False"></asp:Label>
<asp:TreeView ID="TreeView1" runat="server" Visible="False" Font-Size="9pt">
<Nodes>
<asp:TreeNode Text="父目录1" Value="父目录1">
<asp:TreeNode Text="子目录1" Value="子目录1"></asp:TreeNode>
<asp:TreeNode Text="子目录2" Value="子目录2"></asp:TreeNode>
<asp:TreeNode Text="子目录3" Value="子目录3"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="父目录2" Value="父目录2">
<asp:TreeNode Text="子目录4" Value="子目录4"></asp:TreeNode>
<asp:TreeNode Text="子目录5" Value="子目录5"></asp:TreeNode>
<asp:TreeNode Text="子目录6" Value="子目录6"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="父目录3" Value="父目录3">
<asp:TreeNode Text="子目录7" Value="子目录7"></asp:TreeNode>
</asp:TreeNode>
</Nodes>
</asp:TreeView>
</td>
<td style="vertical-align: top; width: 166px; text-align: center">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -