DataNavigatorDataSource Property

This gets or sets the data source for the data navigator

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
[TypeConverterAttribute("System.Windows.Forms.Design.DataSourceConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public Object DataSource { get; set; }

Property Value

Object
The data source object must support the IList interface such as a DataSet or an Array. This property must be set in order for the control to display information. If the data source contains multiple items to which the control can bind, use the DataMember property to specify the sub-list to use.

Exceptions

ArgumentExceptionThis is thrown if the data source does not support the IList interface.

See Also