Parameter.AllowNull Property
Specifies whether to treat an empty field as null.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v25.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | false | true, to treat an empty field as |
Remarks
The AllowNull option determines whether to treat an empty field as null or as string.empty (or as an empty array for the multi-value parameter).

using DevExpress.XtraReports.Parameters;
// ...
report.Parameters["date"].AllowNull = true;
See Also