摘要: asp.net MVC传值通常指Controller和view之间的数据传递,简单总结一下: 1.ViewData 从Controller到view的值传递: 在Controller中声明一个存储数据的键值对, 代码清单1 public ActionResult Index() { ViewData 阅读全文
posted @ 2016-02-04 14:20 小丿悠悠 阅读(332) 评论(0) 推荐(0) 编辑