本文介绍了如何在c#中绑定超级网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
using(DataClasses1DataContext db=new DataClasses1DataContext())
{
SuperGrid1.DataBindings = db.StudentInfoTestings.Select(i => new { i.StudFirstName, i.StudLastName, i.StudContact, i.StudEmail, i.StudPass }).ToList();
}
如何在c#.net中绑定SuperGrid
How to bind SuperGrid in c#.net
推荐答案
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();
}
这篇关于如何在c#中绑定超级网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!