02 2016 档案

摘要:KeyValuePair是单个的键值对对象。KeyValuePair可用于接收combox选定的值。 例如:KeyValuePair<string, object> par = (KeyValuePair<string, object>)shoplistcomboBox.SelectedItem; 阅读全文
posted @ 2016-02-21 23:37 小丿悠悠 阅读(5749) 评论(0) 推荐(0) 编辑
摘要:asp.net MVC传值通常指Controller和view之间的数据传递,简单总结一下: 1.ViewData 从Controller到view的值传递: 在Controller中声明一个存储数据的键值对, 代码清单1 public ActionResult Index() { ViewData 阅读全文
posted @ 2016-02-04 14:20 小丿悠悠 阅读(337) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示