Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
[WPF] Refresh item on datagrid after update on DB
Roberto Salemi
Mar 3 2015 10:58 AM
3.3k
Reply
Hi,
in my application, I created two button where with a click action I change a value of one property of my list object.
On click:
- I get the item of my datagrid;
- Change value of one property of the objects of my collection
- Update this value on database
- If the update returns me "True", I execute:
dgPlan.Items.Refresh();
but the collection on datagrid is not refresh.
If I launch the research, the new values are shown.
Where is the error?
Thanks.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
[WPF][ModernUI] ModernDialog: change text of button
Wpf Web Browser unable to access the embedded .js file.