Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server validation
Message
De
03/06/2001 23:11:52
 
 
À
02/06/2001 18:02:34
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00514250
Message ID:
00514407
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform