请求如何从视图传递到控制器? [英] How the request is pass from view to controller?

查看:74
本文介绍了请求如何从视图传递到控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道请求从视图传递到控制器背后的逻辑吗?



单击视图上的按钮时如何调用操作方法?



关于此的任何文章?

I want to know the logic behind the request pass from view to controller?

How the action method invoked when clicking a button on view?

any article on this?

推荐答案

请查看这篇文章。希望你会发现它使用完整。

将数据从视图中获取到MVC中的控制器 [ ^ ]

http://forums.asp.net/p/1805523/4988723.aspx?Re+How+to+pass+data+from+view+到+控制器 [ ^ ]



这个



http://stackoverflow.com/questions / 17236555 /如何发送数据从视图到控制器按钮单击 [ ^ ]



http://stackoverflow.com/questions/12835905/how- to-get-button-value-to-controller [ ^ ]
please check this bellow article. Hope you will find it use full.
Getting Data From View to Controller in MVC[^]
http://forums.asp.net/p/1805523/4988723.aspx?Re+How+to+pass+data+from+view+to+controller[^]

and this

http://stackoverflow.com/questions/17236555/how-to-send-data-from-view-to-controller-on-button-click[^]

http://stackoverflow.com/questions/12835905/how-to-get-button-value-to-controller[^]


这篇关于请求如何从视图传递到控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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