RIA Service (updating the database)

Oct 15, 2011 at 6:33 PM

Hi all,

I have a problem with the sample project (screencast "RIA Services"):

everything works fine and I am able to update my datagrid (it shows the correct data from the connected sql-server database), but if I update a value directly in the database and click the "Load"-Button in the sample-application, the content is not refreshed. When I restart the whole application, the new data is showing up. What can I do that the application queries the data again from the database?

cu

Andy

Coordinator
Oct 15, 2011 at 10:26 PM
There should be a Refresh method on the DataContext that you can invoke. That should go fetch fresh data for you.

Tony