GenerateHtmlOneRowForOneItem(System.Data.DataRow, System.Text.StringBuilder, Int32, String, Int32, Int32) Method
The GenerateHtmlOneRowForOneItem method of the QueryResultBase class generates the HTML for one row for the specified DataRow in the search result set.
Parameters
objectDataRow DataRow that represents the item in the result set.
sbRenderRowHtml StringBuilder that contains the HTML for the specified row.
rowID Index of the row of data to generate. 0 indicates that the first HTML table row.
strStyleClass Style from the stylesheet that applies to this row. This parameter is reserved for internal use.
iIndexOfItemInDataSet Index of this item in the result set to render. 0 represents the first item.
iIndexOfItemInGroup Index of this item in its group. This value is used to expand and collapse the result group in the browser.
Remarks
The GenerateHtmlOneRowForOneItem method generates different HTML if the DataRow contains information about a person. Otherwise is calls the GenerateHtmlOneRowForOneItem in the base class, QueryResultBase.
This method should not generate <TR> tags for the DataRow.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security