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

📄 intrinsic.vb

📁 This is a book about vb.you could learn this from this book
💻 VB
字号:
Imports System
Imports System.Web
Imports System.Drawing
Imports System.Web.UI
Imports System.Web.UI.WebControls

Namespace WroxControls 

   Public Class IntrinsicDisplay
   	Inherits WebControl

      Protected Overrides Sub Render(writer As HtmlTextWriter) 

			writer.Write("<H3>Application Variables</H3>")

			Dim key As String
			For Each key In Context.Application
				writer.Write( "<BR>Key = '" & key & _
								  "' , Value = '" & _
								  Context.Application(key) & "'" )
			Next

			writer.Write("<H3>Session Variables</H3>")

			For Each key In Context.Session

				writer.Write( "<BR>Key = '" & key & _
								  "' , Value = '" & _
								  Context.Session(key) & "'" )
			Next
      
      End Sub

   End Class
   
End Namespace

⌨️ 快捷键说明

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