Using TDataSetTableProducer

From RAD Studio
Jump to: navigation, search

Go Up to Representing a Dataset in HTML

Web.DBWeb.TDataSetTableProducer is a table producer that creates an HTML table for a dataset. Set the DataSet property of TDataSetTableProducer to specify the dataset that contains the records you want to display. You do not set the DataSource property, as you would for most data-aware objects in a conventional database application. This is because TDataSetTableProducer generates its own data source internally.

You can set the value of DataSet at design time if your Web application always displays records from the same dataset. You must set the DataSet property at run time if you are basing the dataset on the information in the HTTP request message.

See Also