System.Data Namespace

The System.Data namespace consists mainly of classes that make up ADO.NET. ADO.NET allows a developer to build components that manage data from data sources.

DataColumn Object Members

The DataColumn class represents the schema of a column in a DataTable object. Tables B.1 through B.4 list the constructor, properties, and methods for the DataColumn class.

Table B.1. DataColumn Constructor
Name Parameters Description
DataColumn none Initializes a new instance of the DataColumn class.
DataColumn columnName (String) Initializes a new instance of the DataColumn class with the specified name.
DataColumn columnName (String) dataType (Type) Initializes a new instance of the DataColumn class with the specified name and data type. ...

Get ASP.NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.