2012年3月20日
摘要: stu = new Student(); Binding binding = new Binding(); binding.Source = stu; binding.Path = new PropertyPath("Name"); BindingOperations.SetBinding(this.textBoxName, TextBox.TextProperty, binding); 阅读全文
posted @ 2012-03-20 23:01 上校 阅读(564) 评论(0) 推荐(0)
摘要: 1.Dictionary添加属性 @{ Layout = "~/Views/Shared/_EditLayout.cshtml"; Dictionary dic=new Dictionary(); dic.Add("style", "background-color:#DCEEF0;height:280px;width:190px;"); dic.Add("size", "4"); } 阅读全文
posted @ 2012-03-20 09:24 上校 阅读(313) 评论(0) 推荐(1)