This documentation is archived and is not being maintained.

DataListItem.RenderItem Method

Displays the DataListItem object on the client.

[Visual Basic]
Public Overridable Sub RenderItem( _
   ByVal writer As HtmlTextWriter, _
   ByVal extractRows As Boolean, _
   ByVal tableLayout As Boolean _
)
[C#]
public virtual void RenderItem(
 HtmlTextWriter writer,
 bool extractRows,
 bool tableLayout
);
[C++]
public: virtual void RenderItem(
 HtmlTextWriter* writer,
 bool extractRows,
 bool tableLayout
);
[JScript]
public function RenderItem(
   writer : HtmlTextWriter,
 extractRows : Boolean,
 tableLayout : Boolean
);

Parameters

writer
A System.Web.UI.HtmlTextWriter object that contains the output stream for rendering on the client.
extractRows
true to extract rows; otherwise false.
tableLayout
true to display as a table; otherwise false.

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataListItem Class | DataListItem Members | System.Web.UI.WebControls Namespace | System.Web.UI.HtmlTextWriter

Show: