rot13 Posted June 26, 2005 Posted June 26, 2005 (edited) Hi, I haven't been here in a while... but I'm having troubles that I can't 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 I've 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 I've checked it before the application exited, then checked the database afterwords, and they aren't 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 Edited June 26, 2005 by rot13 Quote
rot13 Posted June 26, 2005 Author Posted June 26, 2005 Hi, I haven't been here in a while... but I'm having troubles that I can't 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 I've 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 I've checked it before the application exited, then checked the database afterwords, and they aren't 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.