I know this isn't right, but for the sake of illustration I'd like to do something like this:
(我知道这是不对的,但是为了说明起见,我想做这样的事情:)
<%= Html.Button("Action", "Controller") %>
My goal is to make an HTML button that will call my MVC controller's action method.
(我的目标是制作一个HTML按钮,该按钮将调用我的MVC控制器的action方法。)
ask by Aaron Salazar translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…