C
Charlie Mac
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
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