This documentation is archived and is not being maintained.

ContextDataSourceView Constructor

Initializes a new instance of the ContextDataSourceView class.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected:
ContextDataSourceView(
	DataSourceControl^ owner, 
	String^ viewName, 
	HttpContext^ context
)

Parameters

owner
Type: System.Web.UI::DataSourceControl
The data source control that the ContextDataSourceView object is associated with.
viewName
Type: System::String
The unique name for the data source view in the scope of the data source control that owns it.
context
Type: System.Web::HttpContext
The current HttpContext instance.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: