ListControl.DataSource Property

Definition

Gets or sets the data source that populates the items of the list control.

C#
[System.ComponentModel.Bindable(true)]
public virtual object DataSource { get; set; }

Property Value

A data source that provides data for populating the list control.

Attributes

Remarks

Use this property to specify a source of data to populate a list control.

The items in the Items collection are initialized from DataTextField and DataValueField.

Applies to

Product Versions
.NET Framework 1.1