Solved

Child window showing old data in C#

Posted on 2013-01-31
2
235 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
ID: 38842447
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
ID: 38843724
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in page 3 46
Class object 2 27
VB.Net How to Exit Sub - Exit Form??? 5 51
Facial recognition to look through the whole database for a person 3 44
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

20 Experts available now in Live!

Get 1:1 Help Now