ComponentOne InputPanel for WinForms
SetDataBinding Method (C1InputPanel)

C1.Win.C1InputPanel.4 Assembly > C1.Win.C1InputPanel Namespace > C1InputPanel Class : SetDataBinding Method
The data source for the C1InputPanel control.
The DataMember string that specifies the table to bind to within the object returned by the DataSource property.
If True, the C1InputPanel will be populated with bound input components.
Sets the DataSource and DataMember properties at run time. Also, may populate the C1InputPanel with the bound input components.
Syntax
'Declaration
 
Public Sub SetDataBinding( _
   ByVal dataSource As System.Object, _
   ByVal dataMember As System.String, _
   ByVal populate As System.Boolean _
) 
public void SetDataBinding( 
   System.object dataSource,
   System.string dataMember,
   System.bool populate
)

Parameters

dataSource
The data source for the C1InputPanel control.
dataMember
The DataMember string that specifies the table to bind to within the object returned by the DataSource property.
populate
If True, the C1InputPanel will be populated with bound input components.
See Also

Reference

C1InputPanel Class
C1InputPanel Members