Share via


QueryResultBase.GenerateHtmlForRowColumn Method

The GenerateHtmlForRowColumn method of the QueryResultBase class generates the HTML that is displayed for a table cell in a table row for the specified DataRow in the search result set. This position in the rendered HTML results contains the path to the specified item.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overridable Sub GenerateHtmlForRowColumn ( _
    objectDataRow As DataRow, _
    strColumnHtml As StringBuilder, _
    iColumn As Integer _
)
'Usage
Dim objectDataRow As DataRow
Dim strColumnHtml As StringBuilder
Dim iColumn As Integer

Me.GenerateHtmlForRowColumn(objectDataRow, _
    strColumnHtml, iColumn)
protected virtual void GenerateHtmlForRowColumn(
    DataRow objectDataRow,
    StringBuilder strColumnHtml,
    int iColumn
)

Parameters

  • strColumnHtml
    Type: System.Text.StringBuilder
    StringBuilder that contains the HTML for the specified column. HTML is appended to this string.

Remarks

The GenerateHtmlForRowColumn method overrides the GenerateHtmlForRowColumn method in the DataResultBase class. It generates the HTML that is displayed for a table cell in a table row. This method is called when a DataRow is rendered for the first HTML table row. The table row can have several columns. Each column can be rendered by this method.

See Also

Reference

QueryResultBase Class

QueryResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace