asp mvc中action跳到另一个action怎么传递参数
2 回答

炎炎设计
TA贡献1808条经验 获得超4个赞
return RedirectToAction("action","controller",RouteValue)
比如:
return RedirectToAction("action","controller",new MyModel {})
return RedirectToAction("action","controller",new {参数1=xx,参数2=xxx})
- 2 回答
- 0 关注
- 1107 浏览
添加回答
举报
0/150
提交
取消