LinqDataSource.GetView(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- viewName
- String
The name of the view to retrieve, which must be "DefaultView".
Returns
The data source view that is associated with the LinqDataSource object.
Implements
Exceptions
viewName is null (Nothing in Visual Basic) or something other than "DefaultView".
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor