ASP.NET MVC Form Post

后端 未结 3 447
夕颜
夕颜 2020-12-19 01:45
   
3条回答
  •  一个人的身影
    2020-12-19 02:03

    It belongs to your url routes, you defined.

    In your case the form ist looking for an controller named "Villa" and the action inside of it named "Add".

    Maybe you should read ScottGu's blog post: http://weblogs.asp.net/scottgu/archive/2008/09/02/asp-net-mvc-preview-5-and-form-posting-scenarios.aspx

提交回复
热议问题
Name: