| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| dear sir/madam how to check any value in asp that it is null or not Thanks in advance |
|
#2
| |||
| |||
| vinodkus@gmail.com wrote: > dear sir/madam > how to check any value in asp that it is null or not > Thanks in advance It depends on if you are using vbscript or jscript in your asp page. Please do not fail to provide this information in future questions. I am going to give you a "vbscript" answer and would be slighlty nettled to find out that you are actually using jscript. if somevariable is null then 'the variable contains a null end if You need the scripting documentation. You can get it here: http://tinyurl.com/7rk6 -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" |
|
#3
| |||
| |||
| vinodkus@gmail.com wrote: > how to check any value in asp that it is null or not JScript: if (x === null) ... Note that the Identity Operator does not treat "undefined" values the same way as the equality operator: var x // x is undefined if (x == null) // true if (x === null) // false http://msdn2.microsoft.com/en-us/lib...ws(VS.85).aspx -- Dave Anderson Unsolicited commercial email will be read at a cost of $500 per message. Use of this email address implies consent to these terms. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.