C datagridview 分页 sing System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using AddToWaitpay.control; namespace test { pub
LInq分页 代码如下: testDataContext dc = new testDataContext(); public string GetPageNum(GridView GridViewName, int pagesize, IQueryable sql) { int page; if (HttpContext.Current.Request.QueryString[“page”] != null) page = Convert.ToInt32(HttpContext.Curren