public Object DataSource { get; set; }
Public Property DataSource As Object
Get
Set
public:
property Object^ DataSource {
Object^ get ();
void set (Object^ value);
}
member DataSource : Object with get, set
The data source object must support the IList interface such as a DataSet or an Array. The default is null and it will use whatever is in the Items collection instead. If using a data source, set the DisplayMember and ValueMember properties too. Setting this property to null also clears the DisplayMember property.
A data source cannot be used with the SortOrder property. If a non-null data source is set, the SortOrder property is set to None automatically.
ArgumentException | This is thrown if the data source does not support the IList interface. |