Page.Application Property
.NET Framework (current version)
Gets the HttpApplicationState object for the current Web request.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Web.HttpApplicationStateThe current data in the HttpApplicationState class.
// When this page is loaded, the source for the // MyDataGrid control is obtained from Application state. void Page_Load(object sender, EventArgs e ) { DataView Source = (DataView)(Application["Source"]); MySpan.Controls.Add(new LiteralControl(Source.Table.TableName)); MyDataGrid.DataSource = Source; MyDataGrid.DataBind(); }
.NET Framework
Available since 1.1
Available since 1.1
Show: