The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataTable Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the DataTable class with the specified table name.
Assembly: System.Data (in System.Data.dll)
Parameters
- tableName
-
Type:
System::String^
The name to give the table. If tableName is null or an empty string, a default name is given when added to the DataTableCollection.
The following example creates a DataTable and displays it in a DataGridView control.
.NET Framework
Available since 1.1
Available since 1.1
Show: