anonymous
2006-08-27 02:07:06 UTC
I'd like to design an application that connects to an Access database.
Using Visual Studio 2005 Express Edition, I added the Access database to the Data Connections window (and the .mdb file is also shown in the solution explorer).
Next to that, I added a new DataSet related to the .mdf file.
Using this handy drag and drop technique I quickly added a DataGridView to my Designer surface.
If I run the program in Debug mode, add new records and hit the Save button, it seems to save the dataset back into the database (this idea is confirmed by the fact that the tableAdapter.Update() method returns a non-zero value).
However, if I rerun the program or look into my database using Access, nothing has changed.
Does anyone know what's going on?
Notice that I don't have this problem if I use an SQL database