F
Fritjolf
Hi.
There must be something I missed...
If I do a simple linq query like this:
var sections = from s in
ProjectGlobal.rd.ER_Person_Sections
where s.Person_Id == "10"
select s;
The result is shown in a grid and a new itemrow is visible last in the
grid. I can also change values in the grid.
But if I change the "select s" with specific return values:
select new { s.Person_Id, s.Section_Code, s.ER_Section.SectionName };
The new row is not visible and I can't change any values. The dataset
seems read only.
Why is this?
Best regards,
Fritjolf
There must be something I missed...
If I do a simple linq query like this:
var sections = from s in
ProjectGlobal.rd.ER_Person_Sections
where s.Person_Id == "10"
select s;
The result is shown in a grid and a new itemrow is visible last in the
grid. I can also change values in the grid.
But if I change the "select s" with specific return values:
select new { s.Person_Id, s.Section_Code, s.ER_Section.SectionName };
The new row is not visible and I can't change any values. The dataset
seems read only.
Why is this?
Best regards,
Fritjolf