Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
using(DataClasses1DataContext db=new DataClasses1DataContext())
{
    SuperGrid1.DataBindings = db.StudentInfoTestings.Select(i => new { i.StudFirstName, i.StudLastName, i.StudContact, i.StudEmail, i.StudPass }).ToList();
}

How to bind SuperGrid in c#.net
Posted
Updated 10-Dec-14 1:39am
v2
Comments
Thanks7872 10-Dec-14 7:02am    
I have first time heard this word,superGrid. You have to show the code,explain the issue. Use improve question link at bottom of the question.

1 solution

Try use..
C#
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();

}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900