XmlDataSource::IDataSource::GetView Method (String^)


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the named data source view associated with the data source control.

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

virtual DataSourceView^ GetView(
	String^ viewName
) sealed = IDataSource::GetView


Type: System::String^

The name of the view to retrieve. If String::Empty is specified, the default view for the XmlDataSource control is retrieved.

Return Value

Type: System.Web.UI::DataSourceView^

Returns the named XmlDataSourceView object associated with the XmlDataSource control.

.NET Framework
Available since 2.0
Return to top