07 2015 档案

摘要:/// /// 实现将数据导出至Excel, /// 在上面的代码中,我们首先将gridview绑定到指定的数据源中,然后在button1的按钮(用来做导出到EXCEL的)的事件中,写入相关的代码。 /// 这里使用Response.AddHeader("... 阅读全文
posted @ 2015-07-30 11:09 段晨 阅读(719) 评论(0) 推荐(0)
摘要:List ages = new List { 21, 46, 46, 55, 17, 21, 55, 55 }; IEnumerable distinctAges = ages.Distinct(); Console.WriteLine("Distinct ages:"); ... 阅读全文
posted @ 2015-07-21 11:20 段晨 阅读(121) 评论(0) 推荐(0)