Click to See Complete Forum and Search --> : saving database data?


idopps
April 1st, 2004, 02:36 PM
I have my database running in windows. I can enter in data and move to the next set and add more data. I can then go back to the old data and view it. However, if I close the window and restart my program, the data is gone...it was not saved. I have an update buttom that will save the changes I made when the program stays open....but next time I do open it, it will be gone. How do I fix this?

stefanogili
April 16th, 2004, 07:32 AM
are you using ado.net in disconnected mode?
if are you, you must call the update method of the data adapter, otherwise you are only writing in the dataset not in the db...