using(DataClasses1DataContext db=new DataClasses1DataContext()) { SuperGrid1.DataBindings = db.StudentInfoTestings.Select(i => new { i.StudFirstName, i.StudLastName, i.StudContact, i.StudEmail, i.StudPass }).ToList(); }
using(DataClasses1DataContext db=new DataClasses1DataContext()) { SuperGrid1.DatSource = db.StudentInfoTestings.Select(i => new { i.StudFirstName, i.StudLastName, i.StudContact, i.StudEmail, i.StudPass }).ToList(); SuperGrid1.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)