Re: Querystring empty
- From: "tshad" <tscheiderich@xxxxxxxxxxxxxxx>
- Date: Tue, 14 Feb 2006 16:33:05 -0800
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" <adam@xxxxxxxxxxxxxxx> wrote in message
news:ObY4AacMGHA.1832@xxxxxxxxxxxxxxxxxxxxxxx
IF (Request.QueryString("yourQueryString") Is Nothing) Then
END IF
Or
if(Request.QueryString("yourQueryString") == null)
{
}
Cheers,
Adam
"tshad" <tscheiderich@xxxxxxxxxxxxxxx> wrote in message
news:OBLFUPcMGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
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
.
- Follow-Ups:
- Re: Querystring empty
- From: Mr Ideas Man
- Re: Querystring empty
- From: Darren Kopp
- Re: Querystring empty
- References:
- Querystring empty
- From: tshad
- Re: Querystring empty
- From: Mr Ideas Man
- Querystring empty
- Prev by Date: Re: Querystring empty
- Next by Date: Re: Custom Control with a complex property type
- Previous by thread: Re: Querystring empty
- Next by thread: Re: Querystring empty
- Index(es):