Vcl.DBGrids.TCustomDBGrid.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read GetDataSource write SetDataSource;

C++

__property Data::Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Identifies the link to the dataset where the data-aware grid finds its data.

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

See Also