[]
        
(Showing Draft Content)

C1.Win.C1SuperTooltip.C1SuperErrorProvider.BindToDataAndErrors

BindToDataAndErrors Method

BindToDataAndErrors(object, string)

Provides a method to set both the DataSource and DataMember at run time.

Declaration
public void BindToDataAndErrors(object newDataSource, string newDataMember)
Parameters
Type Name Description
object newDataSource

A data set based on the IList interface to be monitored for errors. Typically, this is a DataSet to be monitored for errors.

string newDataMember

A collection within the newDataSource to monitor for errors. Typically, this will be a DataTable.

Remarks

To avoid conflicts at run time that can occur when changing DataSource and DataMember, you should use BindToDataAndErrors instead of setting DataSource and DataMember individually.