摘要: public string CreateAdvExcel(List lt) { StringBuilder builder = new StringBuilder(); if (lt == null || (0 == lt.Count)) { return ""; ... 阅读全文
posted @ 2016-06-30 22:21 violence 阅读(758) 评论(0) 推荐(0) 编辑
摘要: YourDbContext db = new YourDbContext(); 这样就可以直接使用下面这个方法了, db.TableName.OrderBy("ColumnName"), 用于动态排序时需要 阅读全文
posted @ 2016-06-30 17:01 violence 阅读(2220) 评论(1) 推荐(2) 编辑