Web.DBWeb.TDataSetTableProducer.Content
Delphi
function Content: string; override;
C++
virtual System::UnicodeString __fastcall Content();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDataSetTableProducer |
Description
Returns the HTML representation of the records in the dataset.
Call Content to retrieve the HTML representation specified by the properties of the TDataSetTableProducer object. Content calls the OnCreateContent event handler. If the OnCreateContent event handler indicates that the Content method should continue, Content returns the Header property, followed by an HTML table image of the records in the dataset, followed by the Footer property. If the OnCreateContent event handler indicates that the Content method should not continue, Content returns an empty string.
The string returned by Content can be used as the Content property of the response to an HTTP request message.