📄 lab5.aspx
字号:
<%@ Page Language="C#" %>
<!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 id="Head1" runat="server">
<title>Atlas Server Controls Lab</title>
<link rel="stylesheet" type="text/css" href="site.css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<atlas:ScriptManager id="mgr1" runat="server" />
<atlas:button runat="server" id="fillButton" text="Get URL List">
<click>
<actions>
<atlas:invokeMethodAction target="dataSource1" method="select" />
</actions>
</click>
</atlas:button>
<atlas:dataSource runat="server" id="dataSource1" serviceUrl="~/DataService.asmx" />
<atlas:ListView runat="server" id="listView1" itemtemplatecontrolid="templateItem">
<bindings>
<atlas:Binding DataContext="dataSource1" DataPath="data" Property="data" />
</bindings>
<LayoutTemplate>
<ul runat="server" id="templateItemParent">
<li runat="server" id="templateItem">
<strong id="Strong1" runat="server">
<atlas:label runat="server" id="nameLabel">
<bindings>
<atlas:binding DataPath="Name" Property="text" />
</bindings>
</atlas:label>
</strong>
<br />
<atlas:hyperlink runat="server" id="companyUrl" >
<bindings>
<atlas:binding DataPath="Description" Property="text" />
</bindings>
</atlas:hyperlink>
</li>
</ul>
</LayoutTemplate>
<emptytemplate>No Data</emptytemplate>
</atlas:ListView>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -