VB Gerus,
I am new to VB 2005 and am receiving the "Update requires a valid
UpdateCommand when passed DataRow collection with modified rows."
message tied to the TableAdapter line when trying to save data
modified in a DataGridView. MyEray is the table name. What obvious
thing am I missing? Thanks.
Charlie from Texas
Private Sub SaveToolStripButton_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles SaveToolStripButton.Click
' Save data routine
Me.Validate()
Me.MyErayBindingSource.EndEdit()
Me.MyErayTableAdapter.Update(Me.EAdataDataSet1.MyEray)
End Sub
Charlie Mac - 26 Oct 2006 21:02 GMT
Sorry people - I posted this in the wrong group.
>VB Gerus,
>
[quoted text clipped - 13 lines]
> Me.MyErayTableAdapter.Update(Me.EAdataDataSet1.MyEray)
>End Sub