zkhisEntities db = new zkhisEntities(); i++; var aa = db.HJSFB.Select(u => new { name=u.SKH}).ToList(); foreach (var item in aa) { this.Text = item.name; } gridControl1.DataSource= db.HJSFB.Where<HJSFB>(u => true).OrderBy<HJSFB,string>(u=>u.SKH).Skip((i-1)*10).Take(10).ToList(); ;
时间: 2024-10-12 05:02:11