shinji2000
Member
- Joined
- Sep 2, 2011
- Messages
- 6
- Programming Experience
- Beginner
I want to save changes that have been made to the dataset. But when I make a change and press save it comes up with an error with this line of code:
Me.TableAdapterManager.UpdateAll(Me.TestDataSet)
The error saids "TableAdapterManager contains no connection information. Set each TableAdapterManager TableAdapter property to a valid TableAdapter instance."
Anyone know whats the problem?
Me.TableAdapterManager.UpdateAll(Me.TestDataSet)
The error saids "TableAdapterManager contains no connection information. Set each TableAdapterManager TableAdapter property to a valid TableAdapter instance."
Anyone know whats the problem?
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Validate()
Me.HelloBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.TestDataSet)
End Sub