Web.DBWeb.HtmlTable
Delphi
function HtmlTable(DataSet: TDataSet; DataSetHandler: TDSTableProducer;
MaxRows: Integer): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall HtmlTable(Data::Db::TDataSet* DataSet, TDSTableProducer* DataSetHandler, int MaxRows);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | Web.DBWeb |
Description
Generates the HTML image of a dataset, using the properties and events of a table producer object.
Call HtmlTable to obtain a sequence of HTML commands that describe a dataset in tabular format. The DataSet parameter indicates the dataset whose records are converted into an HTML image. The DataSetHandler parameter is the table producer whose properties describe the attributes of the resulting image and whose event handlers respond to events that occur during the generation of the image. The MaxRows parameter is the maximum number of records from the dataset that will appear in the image.
Calling HtmlTable is equivalent to calling the Content method of the DataSetHandler parameter after setting its DataSet and MaxRows properties to the values given for the parameters of the same names.