Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by rot13
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...