private
Unit u =
new
Unit();
u.setUnitContext();
IObjectScope context = u.context;
var q =
from d
in
context.Extent<TblUnitType>()
select
new
{ d.UnitType, d.Abbreviation };
radGridView1.DataSource = q.ToList();
When setting the grid.MasterTemplate.AllowAddNewRow = true; and upong adding a new row to the grid it throws an ArgumentOutOfRangeException... If a bind to a datatable everything works fine...
The question is how do I add a new row to the rows collection when the grid is bound to a "linq query".
Regards
Tor Sigve