query string in asp.net 2.0

  • Thread starter Thread starter Guy Cohen
  • Start date Start date
Are you talking about the Request.QueryString collection?

you can just do:

dim parameter as string = Request.QueryString("thisparameter")

Karl
 
However, in addition, I'd recommend making the parameter Global for the page
(dim it OUTSIDE the Page_Load event)
Dim param as string
Then, as Karl said, assign the value in Page_Load
param=Request.Querystring("thisparameter")
 
Back
Top