Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET's equivalent of PHP's $_GET and $_POST?

Tags:

asp.net

As thet title says.

I'm new to asp.net, and I'm sorta trying to build some AJAX-stuff to learn.

like image 534
peirix Avatar asked Nov 17 '09 22:11

peirix


2 Answers

ASP.Net AJAX may also be worth reading as there are some built-in things that could be useful.

"Request.QueryString" and "Request.Form" are the likely answers to the title question.

like image 178
JB King Avatar answered Oct 16 '22 06:10

JB King


Following up with marr75's response, the Request property exposes a dictionary of GETed and POSTed variables.

like image 21
Jason Whitehorn Avatar answered Oct 16 '22 07:10

Jason Whitehorn