DetailsView.CreateTable 方法

定义

DetailsView 控件创建包含表。Creates the containing table for the DetailsView control.

protected:
 virtual System::Web::UI::WebControls::Table ^ CreateTable();
protected virtual System.Web.UI.WebControls.Table CreateTable ();
abstract member CreateTable : unit -> System.Web.UI.WebControls.Table
override this.CreateTable : unit -> System.Web.UI.WebControls.Table
Protected Overridable Function CreateTable () As Table

返回

一个 Table,它表示 DetailsView 控件的包含表。A Table that represents the containing table for the DetailsView control.

注解

方法是一个帮助器方法, 该DetailsView方法由控件调用以创建一个充当控件的容器的表。 CreateTableThe CreateTable method is a helper method called by the DetailsView control to create a table that acts as the container for the control.

适用于