Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update Data Tabel From Edit
#1
I am trying to update the database when I make changes to the data but this code won't work. Thanks for the help in advanced!!

me.validate()
me.customersbindingsource.endedit()
me.tableadaptermanager.updateall()
msgbox("Successfully Updated")

I get the message box but when I re load the application the changes are gone.
#2
What type of database are you using? If it is a MySQL Database, it is because you didn't actually write the changes to the server, you simple changed the table locally.

If you could give us more information about your project, we would be able to help you a little easier.
My Blog | My Setup | My Videos | Have a wonderful day.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Edit cell of DataGridView brco900033 1 10,665 08-13-2013, 06:16 AM
Last Post: brco900033
  [SOLVED] MySQL Update Query - What am I doing wrong? kismetgerald 11 43,302 10-18-2012, 07:16 PM
Last Post: brandonio21
  How do I fill my form with MySQL data based on Combobox? kismetgerald 8 26,704 10-14-2012, 09:05 PM
Last Post: brandonio21
  Loading DB data into Combobox then populate TextBox Controls kismetgerald 0 5,709 09-02-2012, 08:44 PM
Last Post: kismetgerald
  Extracting Data From A Website Bradley 3 14,710 05-10-2012, 01:03 AM
Last Post: Bradley
  Displaying Data in WebBrowser VicDesigns 10 33,606 08-01-2011, 11:32 AM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)