DataTable.Columns Property
.NET Framework (current version)
Gets the collection of columns that belong to this table.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System.Data.DataColumnCollectionA DataColumnCollection that contains the collection of DataColumn objects for the table. An empty collection is returned if no DataColumn objects exist.
The DataColumnCollection determines the schema of a table by defining the data type of each column.
.NET Framework
Available since 1.1
Available since 1.1
Show: