suite4.net.FormDatabase Documentation

LoaderForm.InitializeDataSource Method 

Assigns the values of the data source (business object) properties to the corresponding properties of the IForm controls as specified in the form.suite4.net designer.

[Visual Basic]
Public Sub InitializeDataSource( _
   ByVal dataSource As Object _
)
[C#]
public void InitializeDataSource(
   object dataSource
);

Parameters

dataSource
The data source (business object) to be bound to the controls of the IForm specified in the MemberForm property.

Exceptions

Exception Type Condition
DataSourceException The LoaderForm failed to initialize the data source (business object).
LoaderException The LoaderForm doesn't contain a MemberForm.

See Also

LoaderForm Class | suite4.net.FormDatabase Namespace