[]
Gets or sets the data source.
public object DataSource { get; set; }
Public Property DataSource As Object
| Type | Description |
|---|---|
| object | An object that indicates the data source.
|
A data source can be a database, a Web service, or an object that can later be used to generate data-bound controls. When the DataSource property is set, the items collection cannot be modified.