ObjectDataSourceDesigner.GetViewNames Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a list of data source view names for the associated control.

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

public override string[] GetViewNames()

Return Value

Type: System.String[]

A string array containing the names of the ObjectDesignerDataSourceView objects of the associated ObjectDataSource.

The GetViewNames method gets the view names from the names of the schema data tables of the associated control.

.NET Framework
Available since 2.0
Return to top