Ich möchte alles in Request.Form ausspucken, so kann ich es einfach als String zurückgeben und sehen, was ich damit zu tun habe. Ich habe versucht, eine Schleife für Einstellung ...Wie durchqueren Sie Request.Form, ohne irgendwelche Details zu kennen?
// Order/Process
// this action is the submit POST from the pricing options selection page
// it consumes the pricing options, creates a new order in the database,
// and passes the user off to the Edit view for payment information collection
[AcceptVerbs(HttpVerbs.Post)]
public string Process()
{
string posted = "";
for(int n = 0;n < Request.Form.Count;n++)
posted += Request.Form[n].ToString();
return posted;
}
Aber immer ist ich zurück ‚12‘ und ich weiß, dass es viel mehr Dinge auf dem Formular ist als die ...
+1 Das ist die eine :) –