public DataColumn(string columnName, System.Type dataType, string expr)

public DataColumn(string columnName, System.Type dataType, string expr)
Member of System.Data.DataColumn

Summary:
Initializes a new instance of the System.Data.DataColumn class using
the specified name, data type, and expression.

Parameters:
columnName: A string that represents the name of the column to be
created. If set to null or an empty string (""), a default name will
be specified when added to the columns collection.
dataType: A supported System.Data.DataColumn.DataType.
expr: The expression used to create this column. For more information,
see the System.Data.DataColumn.Expression property.

Exceptions:
System.ArgumentNullException: No dataType was specified.

No comments:

Post a Comment