ComponentOne Menus and Toolbars for WinForms
C1.Win.C1SuperTooltip.4.8 Assembly / C1.Win.C1SuperTooltip 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also