SqlDataSource.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.
Gets the named data source view that is associated with the data source control.
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. Because the SqlDataSource supports only one view, viewName
is ignored.
Returns
The SqlDataSourceView named "Table" that is associated with the SqlDataSource.
Exceptions
viewName
is null
or something other than Table
.
Remarks
The SqlDataSource control supports only one data source view. As with all data source view objects, the SqlDataSourceView object that is associated with the data source control defines its capabilities, performs all work that is necessary to retrieve data from the underlying database, and performs operations, such as sorting, inserting, deleting, and updating.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示