The Dynamic Table server object lets you create a table containing dynamic content and apply the Repeat Region behavior from a single dialog box. This server object is especially useful as it simultaneously populates a table with dynamic content from a recordset and applies the Repeat Region server behavior.
NOTE |
|
The Dynamic Table server object is not available when using ASP.NET document types. To create a table containing dynamic content and repeating regions, you must manually insert the table, insert dynamic content from the Bindings panel, and apply a Repeat Region server behavior if needed. For more information, see Displaying multiple recordset results. |
The Dynamic Table dialog box appears.
The Dynamic Table dialog box retains the values you enter for table borders, cell padding, and cell spacing. If you are working on a project that will need several dynamic tables requiring the same look, you may want to enter the table layout values, as this will further simplify page development. Note that you can adjust these values after inserting the table using the table Property inspector.
A table and placeholders for the dynamic content defined in its associated recordset are inserted into the page.
In this example, the recordset contains four records: FIRSTNAME, LASTNAME, TITLE, and DEPARTMENT. The tables Heading row is populated with the names of each record item. You can edit the headings using any descriptive text you want, or replace them with representative images.