Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

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
0
Aspnet_9
Asked:
Aspnet_9
1 Solution
 
guru_samiCommented:
Can you share your code on what kind of windows it is and how you are opening it?
0
 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now