ObjectDataSource.GetViewNames Method
.NET Framework 3.0
Retrieves a collection of names representing the list of view objects that are associated with the ObjectDataSource object.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The ObjectDataSource control supports only one view, named DefaultView, on its underlying data. The GetViewNames method returns a single-element collection of this one view name.
Note: |
|---|
| If you are not familiar with the Data Access features in ASP.NET 2.0, you should read some of these topics before continuing: |
The GetViewNames method is intended to be called by data-bound controls, not by page code.
Community Additions
ADD
Show:
Note: