DetailsView.Render(HtmlTextWriter) 方法

定义

使用指定的 DetailsView 对象在客户端上显示 HtmlTextWriter 控件。Displays the DetailsView control on the client using the specified HtmlTextWriter object.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter

一个 HtmlTextWriter,其中包含要在客户端上呈现内容的输出流。An HtmlTextWriter that contains the output stream to render on the client.

注解

方法用于使用指定HtmlTextWriter的对象将服务器控件内容呈现到客户端的浏览器。 RenderThe Render method is used to render the server control content to the client's browser using the specified HtmlTextWriter object.

适用于

另请参阅