ComponentOne SuperTooltip for WinForms
C1.Win.SuperTooltip.5 Assembly / C1.Win.SuperTooltip Namespace / C1SuperErrorProvider Class / BindToDataAndErrors Method
A data set based on the IList interface to be monitored for errors. Typically, this is a DataSet to be monitored for errors.
A collection within the newDataSource to monitor for errors. Typically, this will be a DataTable.

In This Topic
    BindToDataAndErrors Method (C1SuperErrorProvider)
    In This Topic
    Provides a method to set both the DataSource and DataMember at run time.
    Syntax
    'Declaration
     
    Public Sub BindToDataAndErrors( _
       ByVal newDataSource As System.Object, _
       ByVal newDataMember As System.String _
    ) 
    public void BindToDataAndErrors( 
       System.object newDataSource,
       System.string newDataMember
    )

    Parameters

    newDataSource
    A data set based on the IList interface to be monitored for errors. Typically, this is a DataSet to be monitored for errors.
    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.
    See Also