GenerateMenuButtonHtmlForItem(System.Data.DataRow, Int32, String) Method

The GenerateMenuButtonHtmlForItem method of the QueryResultBase class generates HTML for the menu button.

Parameters

objectDataRow  DataRow that represents the current item.

iRow   Index of the DataRow in the DataSet.

strHtmlInECB   HTML to be displayed in the menu button. This HTML is displayed for the menu button regardless of whether the mouse is hovered over the button.

Return Value

String that contains the HTML string to display.

Example

The following example shows how to use this method to generate a menu button definition.

Remarks

The GenerateMenuButtonHtmlForItem method returns a menu button definition. Use HtmlMenuButton to generate the HTML.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security