Method AddColumn
AddColumn(string, Type)
Adds a column that may hold null. Columns must all be added before the first row.
public ReportDataTable AddColumn(string name, Type type)
Parameters
Returns
- ReportDataTable
This table.
Exceptions
- ArgumentNullException
An argument is null.
- InvalidOperationException
Rows have already been added, or the name is taken.
AddColumn(ReportDataColumn)
Adds a column. Columns must all be added before the first row.
public ReportDataTable AddColumn(ReportDataColumn column)
Parameters
columnReportDataColumnThe column.
Returns
- ReportDataTable
This table.
Exceptions
- ArgumentNullException
columnis null.- InvalidOperationException
Rows have already been added, or the name is taken.