new data does not get saved?

kasteel

Well-known member
Joined
May 29, 2009
Messages
50
Programming Experience
10+
Hi.

I am new to Visual Studio and I am hoping someone can help. (I am using Visual Studio 2005)

I know how to connect/edit, etc to an access database by just using coding but I am having a problem with the Visual Studio Database wizard.

When I create a new Data Source and I specify a Microsoft Access Database File (OLE DB) connection + *.mdb filename, etc I am able to drag the table name onto the form and browse the contents of the database when running the application. No problem there.

The problem is when I run the application and adding new records to the database via the form, the new data does not get saved. I run the app (F5) + add new data to the database + save + then close the app. When I rerun the app from Visual Studio (F5), the new data is gone.

I would really appreaciate any help.

Thanks in advance.
 

Latest posts

Back
Top