I am using linq to sql objects for a used parts table. I can bind the data to a xamDataGrid, which shows correctly on the initial load. However, once changes are made to the linq object, the data never shows up on the grid until I completely recreate the form. Otherwise, it never refreshes.
At first glace this would appear to be an InotifyPropertyChanged event missing or not firing, but these should be created and working since this is a LINQ object.
With that said I am kind of out of ideas. Here is the CS (I will not past the grid, but can if you think there's something wrong there.). Thanks in advance.
grdPartsUsed.DataSource = _fsReport.PartsUseds;
Hello,
I was not able to reproduce that. I tested this with the NorthWind database and this is code I am using to change a value of the underlying objects.
Order o = (xamDataGrid1.Records[0] as DataRecord).DataItem as Order;
if (o != null)
o.Freight = 500000;
The XamDataGrid is updating correctly.
Let me know what might be different in your scenario.