c# - How do I get request parameters in ASP.NET MVC -


How can I create an object object in ASP and get and receive post parameters in .NET MVC.

I can not define them in the verb constructor, I want to draw information directly from the request.

You can do this:

  string strparam = HttpContext.Current .equest ["someParameter"];  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -