SqlDataSourceView Constructor
Assembly: System.Web (in system.web.dll)
public SqlDataSourceView ( SqlDataSource owner, String name, HttpContext context )
public function SqlDataSourceView ( owner : SqlDataSource, name : String, context : HttpContext )
Parameters
- owner
The data source control with which the SqlDataSourceView is associated.
- name
A unique name for the data source view, within the scope of the data source control that owns it.
- context
The current HttpContext.
The SqlDataSourceView constructor is called by the GetView method to return a new instance of a data source view with the specified name parameter. The SqlDataSource control is associated with only one SqlDataSourceView object at any one time, and always names the view Table, although this naming restriction is imposed by the SqlDataSource control, not the SqlDataSourceView. You can override the GetView method to support views with a different naming convention.
The HttpContext object that is passed by the context parameter is used by the data source view to access parameter objects, such as the FilterParameters and SelectParameters properties.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.