Question : QueryString in URL

On Page load I need to see if the Request.QueryString("DISPO") exists in the url.

It will either be there with a value  (DISPO=XXX) or it will not exist at all.

I'm getting errors on when it doesn't exist.

Answer : QueryString in URL

ignore my first post
if(Request.QueryString["DISPO"] != null)
      //Dispo exist

If Request.QueryString("DISPO") IsNot Nothing Then
      'Dispo exist
End If
Random Solutions  
programming4us programming4us