Data Source. Get View(String) Method
Returns the data source view that is associated with the LinqDataSource object.
protected: override System::Web::UI::DataSourceView ^ GetView(System::String ^ viewName);
protected override System.Web.UI.DataSourceView GetView (string viewName);
override this.GetView : string -> System.Web.UI.DataSourceView
Protected Overrides Function GetView (viewName As String) As DataSourceView
The name of the view to retrieve, which must be "DefaultView".
viewName is null (Nothing in Visual Basic) or something other than "DefaultView".
The LinqDataSource control supports only one data source view. The LinqDataSourceView object has a default name of "DefaultView". The LinqDataSourceView object defines the data source control's capabilities, retrieves data from the underlying database, and performs operations such as sort, insert, delete, and update.