Request.QueryString("")
doesn't exist and thus returns NULL
-- there isn't a parameter that is a blank. IsNumeric
of a NULL
value will return True.
Instead of using Request.QueryString("")
, you can either supply the parameter as you did in your 2nd example, or just use Request.QueryString
by itself assuming no other parameters are being passed to your page:
<% Response.Write "IsNumeric: " & IsNumeric(Request.QueryString) %>