get data from a querystring

regwe picture regwe · May 18, 2010 · Viewed 8.3k times · Source

i have this querystring that shall open up my page. http://www.a1-one.com/[email protected]&stuid=123456

Now when this page loads, on page_load, I want to pick up email and stuid in two different variables. So I can use them to insert into my database (sql server) how can this be done in vb.net

Answer

Mark Byers picture Mark Byers · May 18, 2010

Use Request.QueryString("email") and Request.QueryString("stuid").