I am trying to get POST data, but I\'m having no luck. My code is below. When I click the form button nothing happens.
I expected at least my IDE to snap at A.
A.
Try using:
string ap = c.Request["AP"];
That reads from the cookies, form, query string or server variables.
Alternatively:
string ap = c.Request.Form["AP"];
to just read from the form's data.