i have just started using databases with ADO.net and i am not the best programmer in the world so i was pleasantly suprised when Visual Studio seemed to build everything for me.
I added my Access file using add new data source and went through the wizard and everything seemed to work fine apart from updating back to the original database, it looks like it works and i close and re-open VB a few times then it just goes back to the old database. Can somebody see where i am going wrong or point me in the right direction also is it possible to add a query that will search for names I am able to sort the data but not do specific searches for names or addresses.
thxs for any help or cmments.
I added my Access file using add new data source and went through the wizard and everything seemed to work fine apart from updating back to the original database, it looks like it works and i close and re-open VB a few times then it just goes back to the old database. Can somebody see where i am going wrong or point me in the right direction also is it possible to add a query that will search for names I am able to sort the data but not do specific searches for names or addresses.
VB.NET:
Public Class Form1
Private Sub Members_ScreenBindingNavigatorSaveItem_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Members_ScreenBindingNavigatorSaveItem.Click
Me.Validate()
Me.Members_ScreenBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.Members11DataSet)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Members11DataSet.Members_Screen' table.
' You can move, or remove it, as needed.
Me.Members_ScreenTableAdapter.Fill(Me.Members11DataSet.Members_Screen)
End Sub
Private Sub btnend_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnend.Click
End
End Sub
thxs for any help or cmments.