Vcl.DBGrids.TDBGrid.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read GetDataSource write SetDataSource;

C++

__property DataSource;

Properties

Type Visibility Source Unit Parent
property published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGrid

Description

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

Vcl.DBGrids.TDBGrid.DataSource inherits from Vcl.DBGrids.TCustomDBGrid.DataSource. All content below this line refers to Vcl.DBGrids.TCustomDBGrid.DataSource.

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