MVC HttpPost ActionResult问题 [英] MVC HttpPost ActionResult issue

查看:168
本文介绍了MVC HttpPost ActionResult问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好亲爱的MSDN,感谢您阅读本文,

Hello dear MSDN and thank you for going through this post,




如上所述在标题我的问题是关于MVC和ActionResult。

As described in title my problem is about MVC and ActionResult.




什么
我们想要:

这是一个食谱网站,您可以在其中提交食谱并搜索食谱。

Its a recipe website , where you can submit a recipe and search for recipes.

在提交表单上我们想要 if
项目
点击
来自 dropdownListFor 成分列表) 已链接 a
IngredientModel 选择的迭代m 插入
列表框 (选定成分)。

On the submit form we want that if an item is clicked from the dropdownListFor(list of ingredients) that is linked with a IngredientModel, the selected item should be inserted into a listbox (selected ingredients).




推荐答案

请通过
http://forums.asp.net
询问ASP.NET和网络相关问题。

Please ask ASP.NET and web related questions at http://forums.asp.net.

希望有所帮助。

请记住通过将有用的帖子标记为答案来关闭您的主题,然后在适当的论坛中开始新的主题,如果您有新问题。请不要在同一个帖子中提出几个问题。

Please remember to close your threads by marking helpful posts as answer and then start a new thread in an appropriate forum if you have a new question. Please don't ask several questions in the same thread.


这篇关于MVC HttpPost ActionResult问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆