Hi
I am new to vb.net after using vb6 for quite a while. I have connected an Access Database to my project and connected it to a datagridview using a tableadapter. I can see all the records fine and can change them on the screen in the grid. However none of the changes seem to go through to the database. I thought that the datagridview would save these changes automaticaly but this does not seem to be the case. Do I have to add code to get the changes made to a record to save to the database?
Also, does anyone know where there are any simple examples of a datagridview being used to add, edit, delete records in a table?
Cheers
John
I am new to vb.net after using vb6 for quite a while. I have connected an Access Database to my project and connected it to a datagridview using a tableadapter. I can see all the records fine and can change them on the screen in the grid. However none of the changes seem to go through to the database. I thought that the datagridview would save these changes automaticaly but this does not seem to be the case. Do I have to add code to get the changes made to a record to save to the database?
Also, does anyone know where there are any simple examples of a datagridview being used to add, edit, delete records in a table?
Cheers
John