I have three labels & three textboxes on the form, I bind the data to the textboxes using DATA FORM WIZARD & Binding Navigator to naviagte thru the records.
Suppose if i do any changes, I also want to update in the database.
I drag one button on the form & write the foll. code--

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Bank1BindingSource.EndEdit()
Me.Bank1TableAdapter.Update(Me.YogeshDataSet.bank1)
End Sub

ERROR IS THERE IN THE ABOVE CODING.

Bank1 is the table name in the dataset & Yogesh is the database name dats y YogeshDataSet

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.