MONARK AGARWAL
MONARK AGARWAL

Reputation: 11

how can i update my datagrid when any modification done in database using entity framework in wpf

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

Answers (1)

Vaibhav Bhatia
Vaibhav Bhatia

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

Related Questions