Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateDataSourceView Method

SqlDataSource.CreateDataSourceView Method

Creates a data source view object that is associated with the data source control.

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

abstract CreateDataSourceView : 
        viewName:string -> SqlDataSourceView  
override CreateDataSourceView : 
        viewName:string -> SqlDataSourceView

Parameters

viewName
Type: System.String

The name of the data source view.

Return Value

Type: System.Web.UI.WebControls.SqlDataSourceView
A SqlDataSourceView that is associated with the SqlDataSource.

Classes that derive from the SqlDataSource class can override the CreateDataSourceView method to return strongly typed data source view objects.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft