Null Values

Stimulsoft Reports.NET discussion
Post Reply
Tasso Torquato
Posts: 1
Joined: Mon Jun 12, 2006 3:50 am

Null Values

Post by Tasso Torquato »



How can i detect Null values in data source?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Null Values

Post by Edward »

You can use the following code in the GetValueEvent of StiTextBox component:

if (Customers["Flag"] == null)e.Value = "YES";
else e.Value = "NO";
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Null Values

Post by Edward »

Please use following code in GetValueEvent:
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Null Values

Post by Edward »

You can use the following code in the GetValueEvent of StiTextBox component:
C#:
if (Customers["Flag"] == null)e.Value = "YES";
else e.Value = "NO";

VB:
Please use following code in GetValueEvent:
Image
Post Reply