mbah26 0 Newbie Poster

Hello every body,

my problem is how to save any changes in the databaes from vb.net ...

i used dataGrideView to connect and show my database, and i want to save the changes in the orginal database when i close the program.

i try this code but it's not work:

Me.BindingSource.EndEdit()
 Me.TableAdapter.Update(Me.DataSet.SalesStaff)

can anybody help me please ??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.