Child window showing old data in C#

I have a grid.I can edit the record in that grid and the record gets opened up in a new child window.When I save the edited record the , the child window gets closed and the parent grid is refreshed .But when I click on the same record ,the child window opens up with stale data not the updated one. How to handle this.

Please Suggest
Aspnet_9Asked:
Who is Participating?
 
Easwaran ParamasivamCommented:
Whether your update happens properly? Are you updating into a database or file? If so, ensure the update happens or not. If it is database, ensure that your transaction has been committed. Better debug your code while updating and make sure no exception has occurred.
0
 
guru_samiCommented:
Can you share your code on what kind of windows it is and how you are opening it?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.