I need to get an understanding about how you can handle get and post data in a form in asp.net in these 2 situations:
You submit a form with GET method:
action: "form.php"
parameters: text1=test
You submit a form with POST method:
action: "form.php?text1=sometext"
parameters: text1=somedifferenttext
I know these 3 commands:
String val1 = Page.Request["text1"];
String val2 = Page.Request.Form["text1"];
String val3 = Page.Request.QueryString["text1"];
I wonder what are the exact commands to access get and post variables directly?