Property Reference > Quick Reference for All Properties > DataSource Property |
Set C1Query.DataSource= object
Notes
Read/Write at design time and run time.
Property applies to C1Query control.
Description
This property specifies is used to bind a C1Query control to an ADO/OLE DB data source, such as ComponentOne True DataControl, an ADODC control or Visual Basic DataEnvironment.
Leave this property empty, if you want to use the C1Query control in a regular way, with schema. If the DataSource property is non-empty, the C1Query control functions in a special mode, where it ignores the schema and takes the field information directly from the DataSource. See Simple Queries - DataSource Mode for details.
See Also
DataMember property
DataSourceFields property