Hi,
I am using vb.net 2005, I have a dataset created with the wizard, and some textboxs linked to a database access, also I have created with a wizard a personesdatatableadapter, oledbconnection1, oledbdatadapter1, oledbcommand1
The fact is that in the textbox, I was perfectly show the data of access, and I can move around them, the problem is when i want to update any field. I see correctly, but when i close and open the application again shows me the same data before the update. So the problem is that the dataset can not to update to the access file
I tryed many ways ,like this:
button update:
But it's wrong, somebody can help me?
Thank you very much for everything and sorry for my english
I am using vb.net 2005, I have a dataset created with the wizard, and some textboxs linked to a database access, also I have created with a wizard a personesdatatableadapter, oledbconnection1, oledbdatadapter1, oledbcommand1
The fact is that in the textbox, I was perfectly show the data of access, and I can move around them, the problem is when i want to update any field. I see correctly, but when i close and open the application again shows me the same data before the update. So the problem is that the dataset can not to update to the access file
I tryed many ways ,like this:
button update:
VB.NET:
Me.OleDbConnection1.Open ()
Me.OleDbDataAdapter1.Update (Me.PersonesDataSet.Tab them ( "People"))
PersonesDataSet.AcceptChanges ()
But it's wrong, somebody can help me?
Thank you very much for everything and sorry for my english