📄 placeholder.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="placeholder.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>
<style type="text/css">
.td
{
border-bottom:dotted 1px #dcdcdc ;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style=" border:solid 1px green;width:30%">
<tr>
<td class="td" style="background-color:Green">
<span style="font-size: 14pt; color: #ffffff">
应用PlaceHolder控件动态创建控件</span></td>
</tr>
<tr>
<td class="td" >
<asp:Button ID="createList" runat="server" Text="动态创建ListBox控件" OnClick="createList_Click" /></td>
</tr>
<tr>
<td>
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -