I don't understand.
I am not checking if there is a particular parameter there. I want to know
if the URL has 0 parameters (file.aspx). file.aspx?r=1 has 1 parameter and
file.aspx?r=1&st=joe has 2 parameters.
I want to be able to special processing if there is no parameters passed at
all. I don't want to check if r is nothing and st is nothing.
Thanks,
Tom
"Mr Ideas Man" <ad**@pertrain.com.au> wrote in message
news:Ob**************@TK2MSFTNGP11.phx.gbl...
IF (Request.QueryString("yourQueryString") Is Nothing) Then
END IF
Or
if(Request.QueryString("yourQueryString") == null)
{
}
Cheers,
Adam
"tshad" <ts**********@ftsolutions.com> wrote in message
news:OB**************@TK2MSFTNGP11.phx.gbl... How do you check to see if there is no query string?
I could have:
1) file.aspx
2) file.aspx?r=5&st=joe
I need to know when there is no query string at all (1).
Thanks,
Tom