2016年12月24日

ListToDataTable

摘要: public static DataTable ToDataTable<T>(IEnumerable<T> collection) { var props = typeof(T).GetProperties(); var dt = new DataTable(); dt.Columns.AddRan 阅读全文

posted @ 2016-12-24 21:56 焦会锋 阅读(310) 评论(0) 推荐(0) 编辑

Linq语句与aspnetpager结合分页

摘要: public void DataBindList() { List<EnDeContent> listCon = null; int pageSize = 10; int pageIndex =0; string key = txtKey.Text.Trim(); AspNetPager.Recor 阅读全文

posted @ 2016-12-24 16:24 焦会锋 阅读(105) 评论(0) 推荐(0) 编辑

导航