Table of Contents

Constructor ReportDataColumn

Namespace
DocWright.Reporting.Data
Assembly
DocWright.Reporting.dll

ReportDataColumn(string, Type)

Initializes a column that may hold null.

public ReportDataColumn(string name, Type type)

Parameters

name string

The column's name, which fields match through their DataField.

type Type

The 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

name string

The column's name, which fields match through their DataField.

type Type

The CLR type of its values. A nullable value type is recorded as its underlying type, and makes the column nullable.

allowsNull bool

Whether a value may be null.

Exceptions

ArgumentNullException

An argument is null.