DesignTimeData.CreateDummyDataTable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DataTable object that contains three columns with names that indicate that the columns contain sample data.
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
Returns
A new DataTable with three columns. These columns can contain data of type string.
Remarks
The column data types are all string. The calling designer component can call the GetDesignTimeDataSource method to add rows of data to the resulting table.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for