Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server validation
Message
From
03/06/2001 23:11:52
 
 
To
02/06/2001 18:02:34
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00514250
Message ID:
00514407
Views:
12
>Hi,
>I have one asp page, am using vb script to open a databse, and java script for
>client side validation. now i want to validate some text box value
>from the database. first of all i want to validate isnull on that text box its simple with java script but my problem is how to validate its value from database.
>thanks for ur all help,
>...ashish

If what you're trying to do is test if the value coming back from the database is null before displaying it, you could use
IsNull(tableFieldValue)
before displaying it. To be safe, you could also test for the field's length:
If len(TRIM(tableFieldValue))= 0 or IsNull(tableFieldValue) then...
Hope it helps.
Andres M. Chiriboga, MCSE, MCP+I
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform