摘要: BoundField bf; bf = new BoundField(); bf.HeaderText =""; bf.DataField = ""; GridView1.Columns.Add(bf); 阅读全文
posted @ 2011-03-18 14:31 nyth 阅读(214) 评论(0) 推荐(1) 编辑
摘要: out关键字的特点class OutExample{ static void Method(out int i) { i = 44; } static void Main() { int value; Method(out value); // value is now 44 }}它可以返回参数的值。各位进来的朋友可以说下它的优点,以及在什么情况下用比较好! 阅读全文
posted @ 2011-03-18 13:55 nyth 阅读(241) 评论(1) 推荐(1) 编辑