RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlGrid.DataSource Property

Identifies the link to the dataset where the TDBCtrlGrid object finds its data.

Pascal
property DataSource: TDataSource;
C++
__property TDataSource DataSource;

Set DataSource to the TDataSource object that links to the dataset where the grid should fetch its data. DataSource allows the data-aware grid to read from, write to, and navigate around the dataset.

DBCtrlGrid1.DataSource := DataSource1;

 

DBCtrlGrid1->DataSource = DataSource1;

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!