Reputation: 11
When i bind database with my application using entity framework it show data on datagrid but when i do changes in database externally it does not reflect in datagrid.i need a code for which synchronize the database with my datagrid.so i can reflect any modification done in database then it will automatically update the datagrid.
Upvotes: 1
Views: 125
Reputation: 536
Update you edmx file. When you modify DB you need to update your.edmx file. Follow following link to update edmx.
How do you update an edmx file with database changes?
Upvotes: 1