RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterImageField Class

TDataSetAdapterImageField is the adapter field object that represents a graphic field from a database.

Pascal
TDataSetAdapterImageField = class(TCustomDataSetAdapterImageField);
C++
class TDataSetAdapterImageField : public TCustomDataSetAdapterImageField;

Add TDataSetAdapterImageField as a child of a TDataSetAdapter component to represent a graphic field in the dataset associated with the dataset adapter. TDataSetAdapterImageField represents a single field from a database table, and enables server-side script to refer to or update that field's value. 

TDataSetAdapterImageField supports several properties that can be used in server-side script. These include: 

Image, which represents the value of the field as an image. You can specify a URL for this image using the Image.AsHREF property. 

Value and DisplayText, both of which represent the value of the field as a text string. 

DisplayLabel, which provides a text label that can be used to label HTML controls that represent the field. 

Required, which indicates whether the graphic field requires a value. 

Visible, which indicates whether HTML forms should include a control for this field. 

 

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