| |||||||||||
DataTable Constructor ( )System.Data Namespace DataTable Class Initializes a new instance of the DataTable class with no arguments. [ VB ] Public Sub New ( ) [ C# ] public DataTable ( ); [ C++ ] public: DataTable ( ); [ JScript ] public function DataTable ( ); RemarksThe following table shows inital property values for an instance of DataTable initialized with this constructor.
You can change the value for any of these properties through a separate call to the property. ExampleThe 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. See AlsoDataTable Members DataTable Constructor Overload List DataColumn DataRow DataView |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme