DesignTimeData.CreateDummyDataTable 方法
定义
public:
static System::Data::DataTable ^ CreateDummyDataTable();
public static System.Data.DataTable CreateDummyDataTable ();
static member CreateDummyDataTable : unit -> System.Data.DataTable
Public Shared Function CreateDummyDataTable () As DataTable
返回
一个新的 DataTable,包含三列。A new DataTable with three columns. 这些列可以包含字符串类型的数据。These columns can contain data of type string.
注解
列数据类型均为字符串。The column data types are all string. 调用设计器组件可以调用 GetDesignTimeDataSource 方法将数据行添加到生成的表中。The calling designer component can call the GetDesignTimeDataSource method to add rows of data to the resulting table.