DataSource property (Main Control)

Visual Basic example
Other systems

Syntax IRowCursor* DataSource

Overview:  Refer to Using a Visual Basic Data Control.

Remarks

(Persistent property, available at design time) Sets the data control through which the Main Control is bound to the database.

To bind a control to a field in a database at run time, you must specify a data control in this property at design time. To complete the connection with a database, you must also provide the name of a Field object in the DataField property.

See Also

Topics:  Databases: Visual Basic Data Binding