Page 1 of 1

Null Values

Posted: Mon Jun 12, 2006 5:16 pm
by Tasso Torquato


How can i detect Null values in data source?

Null Values

Posted: Tue Jun 13, 2006 12:54 am
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";

Null Values

Posted: Tue Jun 13, 2006 8:14 am
by Edward
Please use following code in GetValueEvent:

Null Values

Posted: Tue Jun 13, 2006 8:22 am
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