Null values

Stimulsoft Reports.NET discussion
Post Reply
Stéphane
Posts: 74
Joined: Wed Dec 06, 2006 3:45 am
Location: Paris (France)

Null values

Post by Stéphane »

Hello,

actually, null values are automatically converted if the ConvertNulls property of the report is set to true. Unfortunately, the automatic conversion is not appropriate to me. For all my reports, I don't want that the null values are set to zero but to String.Empty.
I have already my own Report class but I can't override the ChangeType method, it is static.

How can I do this globally ?


Thanks in advance.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Null values

Post by Vital »

Set type of column to object. In this case you will receive all data in original format for specified column.

Thank you.
Post Reply