How to update access database in VB.NET 2005 Beta 2

rot13

Well-known member
Joined
Jun 12, 2004
Messages
53
Hi, I havent been here in a while... but Im having troubles that I cant find the answer to... so here I am.

I am using Visual Basic in Visual Studio 2005 Beta 2 to make a user login system, and Ive got most of it working, but when I do UsersTableAdapter.Update(databaseDataSet.Tables(0)) it does not update the database with what is in the dataset. I am sure the dataset has the correct information because Ive checked it before the application exited, then checked the database afterwords, and they arent the same.

I have a BindingSource, DataAdapter, and DataSet on the form.

Is there something I am suppose to do to make it update the database file that I am not doing?

I really need some help quick.

Thanks
 
Last edited by a moderator:
rot13 said:
Hi, I havent been here in a while... but Im having troubles that I cant find the answer to... so here I am.

I am using Visual Basic in Visual Studio 2005 Beta 2 to make a user login system, and Ive got most of it working, but when I do UsersTableAdapter.Update(databaseDataSet.Tables(0)) it does not update the database with what is in the dataset. I am sure the dataset has the correct information because Ive checked it before the application exited, then checked the database afterwords, and they arent the same.

I have a BindingSource, DataAdapter, and DataSet on the form.

Is there something I am suppose to do to make it update the database file that I am not doing?

I really need some help quick.

Thanks

Nevermind. I figured it out. I had copyalways on, so it would overwrite the database each time... and I never saw it in there... but I turned that off, and now it works... haha
 
Back
Top