asp.net mvc 2 - Getting post values of dynamically generated content -
I have a form generator, what I want to do is take the form list of questions, dynamically generate them on the page , Then retrieve the answer is easy to generate question, but how do I get those answers? I do not think how strongly I can write a scene, but is there a way to manually grab post values if I know the name of the input field?
Access the form values directly in your controller:
Var value = request.form ["inputname"];
Comments
Post a Comment