May 10, 2012, 11:11 AM
[CLOSED] How to bind linq to sql result to data gridpanel
Hi,
How to bind linq 2 SQL result to data gridpanel property, this request bellow :
How to bind linq 2 SQL result to data gridpanel property, this request bellow :
ICollection<Counterparty> IRepository<Counterparty>.GetAll()
{
using (AxeCreditEntities context = new AxeCreditEntities())
{
return context.Counterparties1.ToList();
}
}
I would like to bind the method GetAll to : AjaxStoreResult result = new AjaxStoreResult ();
result.Data = GetAll();
Thank you in advance
Last edited by Daniil; May 14, 2012 at 8:07 PM.
Reason: [CLOSED]