Edit

Share via


DataListItem.RenderItem(HtmlTextWriter, Boolean, Boolean) Method

Definition

Displays the DataListItem object on the client.

public virtual void RenderItem(System.Web.UI.HtmlTextWriter writer, bool extractRows, bool tableLayout);

Parameters

writer
HtmlTextWriter

A HtmlTextWriter object that contains the output stream for rendering on the client.

extractRows
Boolean

true to extract rows; otherwise false.

tableLayout
Boolean

true to display as a table; otherwise false.

Remarks

Use the RenderItem method to display the DataListItem object on the client.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also