Constructor ReportDataColumn
ReportDataColumn(string, Type)
Initializes a column that may hold null.
public ReportDataColumn(string name, Type type)
Parameters
namestringThe column's name, which fields match through their
DataField.typeTypeThe CLR type of its values.
Exceptions
- ArgumentNullException
An argument is null.
ReportDataColumn(string, Type, bool)
Initializes a column.
public ReportDataColumn(string name, Type type, bool allowsNull)
Parameters
namestringThe column's name, which fields match through their
DataField.typeTypeThe CLR type of its values. A nullable value type is recorded as its underlying type, and makes the column nullable.
allowsNullboolWhether a value may be null.
Exceptions
- ArgumentNullException
An argument is null.