RAD Studio VCL Reference
|
Specifies the field from which the database image displays data.
property DataField: WideString;
__property BSTR DataField;
Use DataField to bind the image control to a field in the dataset. To fully specify a database field, both the dataset and the field within that dataset must be defined. The DataSource property of the image control specifies the dataset which contains the DataField. DataField should specify a graphic field.
DBImage1.DataField := 'Portrait';
DBImage1->DataField = "Portrait";
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|