System.Data Namespace DataTable Class
Initializes a new instance of the DataTable class.
1. Initializes a new instance of the DataTable class with no arguments.
2. Intitalizes a new instance of the DataTable class with the specified table name.
3. Initializes a new instance of the DataTable class with the SerializationInfo and the StreamingContext.
The following example initializes a new DataTable, adds several DataColumn objects that accommodate varying data types, adds a given number of DataRow objects, then displays it in a DataGrid control.
NOTE: This example uses one of the overloaded versions of the DataTable constructor. For other examples that may be available, see the individual overload topics.
Show me
DataTable Members
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note