Update ms access database via vb.net -


How can I do this?

I have a code code already, but it seems that it does not really work right here. Here's how my program works. I input an ID number (unique) on the text box and the click on the search button entries that correspond to the ID number are then displayed on the other text box.

And then I try to manually edit one of the entries (by changing its letter or name) then I click the update button.

Here's the problem: it actually updates the entry but it creates a mirror of the entry with a different ID number (may be automatically generated). So basically the MS Access database will now have an old entry and an updated version of the entry.

If you want, I can show you my code as long as I will be assured of your reputation in this site.

Show the code, it looks like you instead of Update By using .

OK, check this link

You think that disappearing

  'This line will fail without the OleDbCommandBuilder. Builder.GetUpdateCommand ()  

ago

  adapter.Update (dataSet)  

let me know that it works is ?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -