save in a database

E

Edward

Hi everybody
I'm usuing the walkthrough example in MSDN , I successfully created a SQL
database and I can retrieve my data in my application using bound controls
and Binding navigator but when I save something i the datebase and close the
application and then open it again all the new data i have saved are gone.
Even I added the code in my formclosing event
Me.AddressesBindingSource.EndEdit()
Me.AddressesTableAdapter.Update(Me.FirstDatabaseDataSet.Addresses)
and results are the same.
Could be this because I dont have admin access to my computer at work? or
there is something Im missing here?
 
E

Edward

Thank you, yes I did add a copy of the database in my project I’ll test
tonight the other way. I ‘m just puzzled why VB doesn’t update the copy of
the database which is in my project? In general which option is more useful?
I guess im not quite clear about those two ....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top