Page.Application Property
.NET Framework 2.0
Gets the HttpApplicationState object for the current Web request.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public ReadOnly Property Application As HttpApplicationState 'Usage Dim instance As Page Dim value As HttpApplicationState value = instance.Application
/** @property */ public HttpApplicationState get_Application ()
public function get Application () : HttpApplicationState
Not applicable.
Property Value
The current data in the HttpApplicationState class.' When this page is loaded, the source for the ' MyDataGrid control is obtained from Application state. Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Dim Source As DataView = Application("Source") MySpan.Controls.Add(New LiteralControl(Source.Table.TableName)) MyDataGrid.DataSource = Source MyDataGrid.DataBind() End Sub
Community Additions
ADD
Show: