RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetTableProducer.Content Method

Returns the HTML representation of the records in the dataset.

Pascal
function Content: string; override;
C++
virtual __fastcall AnsiString Content();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!