更新时间:2022-05-22 23:46:23
将参数类型更改为FormCollection
而不是字符串.请参阅此以获得更多帮助
http://stack247.wordpress .com/2011/03/20/get-forms-post-values-in-asp-net-mvc-with-formcollection/ [ http://www.beletsky.net/2011/01/implementation-of- rest-service-with.html [ ^ ]
Change type of parameter toFormCollection
instead of string. Refer this for more help
http://stack247.wordpress.com/2011/03/20/get-forms-post-values-in-asp-net-mvc-with-formcollection/[^]
Refer this too
http://www.beletsky.net/2011/01/implementation-of-rest-service-with.html[^]