摘要:
LINQ查询的结果是一个IEnumberable<T>类型对象,而IEnumberable<T>类型对象有派生自IEnumberable,所以它可以作为列表控件的ItemsSource来使用.我创建了一个Sutdent类: public class Student { public int ID{ get; set;} public string Name { get; set; } public string Age { get; set; } }UI的设计如下: <ListView Background="LightCoral... 阅读全文
posted @ 2011-09-17 16:19 work hard work smart 阅读(1686) 评论(0) 推荐(0) 编辑