แก้ไข

แชร์ผ่าน


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);
public virtual void RenderItem (System.Web.UI.HtmlTextWriter writer, bool extractRows, bool tableLayout);
abstract member RenderItem : System.Web.UI.HtmlTextWriter * bool * bool -> unit
override this.RenderItem : System.Web.UI.HtmlTextWriter * bool * bool -> unit
Public Overridable Sub RenderItem (writer As HtmlTextWriter, extractRows As Boolean, tableLayout As Boolean)

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

See also