Click here to Skip to main content
15,916,835 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I'm developing windows application in c#,In client machine when user give the text in textbox and click the save button,the given text ix disappear.
Posted

1 solution

Sounds like the text is trying to be saved and then the data is fetched again from the storage (database, file, whatever you use) but the fetch either returns no data for the text box or the data is empty which would give a hint that the save didn't succeed.

So in overall, place a breakpoint in the save button and go through the code execution line by line to see what actually happens and why the data disappears.

Debugging is your best friend!
 
Share this answer
 
Comments
Divakard3 10-Jul-15 3:29am    
But it works fine in my developing system.
Wendelius 10-Jul-15 5:08am    
Since you're the only one who has access to the code, you need to find the potential places where the text box is emptied or may not be filled.

If you cannot debug on the computer having the problem, why not add functionality tp your program to write log information to a text file. This way you can gather information from the client computer and figure out what can cause this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900