I update the rows selected in the datagridview after they are transferred to textboxes. But immediately after updating it seems the updated information is not the old information. What should I do to see the newly updated information?
Fetching updated information after updating a row
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Feb 19, 2024, 4:03 PM EST
You say the updated information is not the old information. Therefore is it the new information? Or do you mean that the DataGridView still has the old information?
Are you using Entity Framework? I asume not.
Is the DataGridView bound to a collection? Something like
List? Probably you need to change it toObservableCollectionand thesomedataclass needs to derive fromINotifyPropertyChangedand implementNotifyPropertyChanged. There are many articles about that.Mehmet FatihRank #1,474 · 1.1K reputationPosted Feb 19, 2024, 11:50 PM EST
No, Sam. I am not using Entity Framework. I am using ADO.Net. Thanks for your giving information.