摘要:
1.将Enum绑定到DropDownList控件的方法 [代码] 将Enum绑定到DropDownList控件的主要用到Enum的是GetNames(),该方法得到的是一个Enum名称的数组string[],当然你也可以使用GetValues()获得Enum的数值。由此可见该绑定实际是将DropDownList绑定到一个数组。2.将对象List<T>绑定到DropDownList控件的... 阅读全文
posted @ 2009-02-19 14:56
4inwork
阅读(1261)
评论(1)
推荐(0)