I have a datagrid that is loaded from a data source called ManualKanBanDataSet. The Access DB is ManualKanban, the table is "Parts". I've set the column properties of the column I want to change to readonly=false.
I make changes to the data in the datagrid, click my update button and nothing updates. here is the update code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
Me.Validate()
Me.ManualKanbanDataSet.AcceptChanges()
Me.PartsTableAdapter.Update(Me.ManualKanbanDataSet.Parts)
MsgBox("Update successful")
Catch ex As Exception
MsgBox("Update failed")
End Try
End Sub
I get an "Update Successful, but it really doesn't update.
Help!
I make changes to the data in the datagrid, click my update button and nothing updates. here is the update code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
Me.Validate()
Me.ManualKanbanDataSet.AcceptChanges()
Me.PartsTableAdapter.Update(Me.ManualKanbanDataSet.Parts)
MsgBox("Update successful")
Catch ex As Exception
MsgBox("Update failed")
End Try
End Sub
I get an "Update Successful, but it really doesn't update.
Help!