Problems using Request.Querystring in ASP.net C#

I

Imran Aziz

Hello All,
I am new to ASP.net, have been using ASP for sometime, I am trying to
get an integer variable sent in querystring but keep getting all sorts of
errors when I try to use it the same way as I did with ASP.
Request.Querystring["ID"]
Do I have to do an explicit conversion to integer to get the integer ID from
the query string ?

Imran.
 
I

Imran Aziz

Got that thanks :)
Imran.
Brock Allen said:
System.Int32.Parse




Hello All,
I am new to ASP.net, have been using ASP for sometime, I am trying
to
get an integer variable sent in querystring but keep getting all sorts
of
errors when I try to use it the same way as I did with ASP.
Request.Querystring["ID"]
Do I have to do an explicit conversion to integer to get the integer
ID from
the query string ?
Imran.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top