Solved

Child window showing old data in C#

Posted on 2013-01-31
2
220 Views
Last Modified: 2013-06-20
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
Comment
Question by:Aspnet_9
2 Comments
 
LVL 41

Expert Comment

by:guru_sami
Comment Utility
Can you share your code on what kind of windows it is and how you are opening it?
0
 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now