⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.aspx

📁 This is a book about vb.you could learn this from this book
💻 ASPX
字号:
<%@ Page Trace="true" %>
<%@ Register TagPrefix="Wrox" Namespace="WroxControls" 
			  Assembly="DictionaryLister2" %>

<script runat=server language="VB">


	Public ReadOnly Property Name As String
		Get
			Return "Templates Rock"
		End Get
	End Property
	
	
	Sub Page_Init( sender As Object , e As EventArgs )
	
		If Page.IsPostBack = False Then
		
			Dim Names() As String = {"Richard", "Alex", "Rob"}

			SessionList.DataSource = names

			Page.DataBind()
		
		End If
	
	End Sub

</script>


<form runat="server">

	<Wrox:ICollectionLister2 id="SessionList" runat=server>

		<HeadingStyle>
			<h3>ICollection Lister</H3>
		</HeadingStyle>

		<ItemStyle>
			<BR><Strong>An item in the collection: <%#Container.DataItem%></Strong></BR>
		</ItemStyle>

	</Wrox:ICollectionLister2>


	<p><asp:button Text="Postback..." runat="server" />

</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -