HeadingRow

[This is preliminary documentation and subject to change.]

The HeadingRow property specifies whether the AutoFormat method should retrieve the field names from the ADO Recordset object and include them as column headings in the first row of the HTML table.

Syntax

HeadingRow = Value

Parameters

Value
A Boolean value that specifies whether to include field names as column headings in the HTML table.

If Value is TRUE, the first row of the HTML table will contain the field names of the ADO Recordset object. If a field name contains an empty string, the HTML Table Formatter component inserts a non-breaking space into the table cell.

If Value is FALSE, the first row in the HTML table contains the first row of data from the Recordset object.

The default value is TRUE.

Example

The following example converts data into an HTML table without headers.
<%
Set myHTMLTable = Server.CreateObject("IISSample.HTMLTable")
myHTMLTable.HeadingRow = False 
%>
 

Applies To

HTML Table Formatter Component

See Also

Borders, AutoFormat