QueryString problem

hi, i have an page that have an querystring like this:

test.aspx?a=1&A=2

the result when i do that:

request.querstring("a")     is    1,2

so, it's getting 2 values and , on the middle. i want to get only 1 as the result?

remember that i can't change the url path. if i could that would be easy. So i need to change on my code side. any help
LVL 1
rafaelrglAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vel EousResearch & Development ManagerCommented:
ASP.NET query strings are case insensitive I believe.

You could access the index directly using:

request.querystring("a")(0);
request.querystring("a")(1);

Or loop over them.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
käµfm³d 👽Commented:
I don't have an ASP environment to test at the moment, but you might try modifying the web.config file as demonstrated in this article link to achieve case-sensitive query-string parameters.
0
rafaelrglAuthor Commented:
thanks a lots. i have other question that i open, can u guys help?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.