RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetValuesList.DataSet Property

Specifies the dataset that stores the names and values for this list.

Pascal
property DataSet: TDataSet;
C++
__property TDataSet DataSet;

Use DataSet to specify the dataset from which this adapter gets its name/value pairs. The names of the name/value pairs in this list are the values of the field that the NameField property specifies. The values are the corresponding values of the field that the ValueField property specifies.

Note: When the WebSnap application reads the value of DataSet for the first time, TCustomDataSetValuesList generates an OnPrepareDataSet event. This lets you perform any initializations that ensure the dataset contains the desired data.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!