[]
Initializes a new instance of the DataColumn structure with the specified name and data type.
public DataColumn(string name, string dataType)
Type | Name | Description |
---|---|---|
string | name | A string value indicating the name of the data column. |
string | dataType | A string value indicating the data type of the data column. |
var column = new DataColumn("Id", "int");