RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.CreateDataLink Method

Creates the data link that the grid uses to manage the connection to its data source.

Pascal
function CreateDataLink: TGridDataLink; dynamic;
C++
__fastcall TGridDataLink CreateDataLink();

TCustomDBGrid calls CreateDataLink from its constructor to create the data link that manages the connection to a data source. Descendant classes can override this method to create a different TGridDataLink descendant. 

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