RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.DataField Property

Specifies the field from which the database image displays data.

Pascal
property DataField: WideString;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!