Get data from query string

I have this thread that will open my page. http://www.a1-one.com/ newpage.aspx?email=er@old.com & stuid = 123456

Now that this page loads, on page_load I want to get email and stuid in two different variables. Therefore, I can use them to insert into my database (sql server) as it can be done in vb.net

+4
source share
1 answer

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

+7
source

Source: https://habr.com/ru/post/1310060/


All Articles