摘要: function bootstrappage() { var options = { currentPage: currentPage, totalPages: totalPages, size: 'normal', itemContainerClass: function (type, page, current) { return (page === current) ? "active" : "pointer-cursor"; }, itemTexts: function (t... 阅读全文
posted @ 2014-01-14 17:02 Seaurl 阅读(591) 评论(1) 推荐(0) 编辑
摘要: table tbody td:first-child { text-align: left;}.table tbody tr td + td { text-align: center;}table tbody tr:nth-child(even) { background-color: #333;} 阅读全文
posted @ 2014-01-14 15:57 Seaurl 阅读(147) 评论(0) 推荐(0) 编辑
摘要: cs: public IEnumerable MyGetAll(int start, int limit, ref int count) { try { var query = _session.CreateCriteria(); count = query.List().Count; var data = query.SetFirstResult((start - 1) * limit) ... 阅读全文
posted @ 2014-01-14 13:51 Seaurl 阅读(743) 评论(0) 推荐(0) 编辑