This question has already been answered:
- Update data in datagrid 1 response
Faced with this situation. The program is running. I am changing the data in the wrk_Device_Value table NOT from the program. Next, I run a method to populate the collection, which contains the string below. The query to the database is executed (I look through Profiler), while the data in the collection remain the same.
What could be the error?
ValuesList = new ObservableCollection<wrk_Device_Value> (_dataContext.wrk_Device_Value.Where(d => d.ID_Device == device.ID_Device).ToList());