Hello people;

I am implementing an application in vb.net about a library management system, when I add new record to the database and then close and reopen the application, the record is not there!

I googled the issue and used the text book of this course but nothing beneficial. :(

how do i solve this?Any help is deeply appreciated.

Recommended Answers

All 3 Replies

You need to specify the database product you've used in your program. If you've file system database (.mdb, .accdb, ms-sql .mdf) in your solution/project then set Copy To Output Directory=Copy if Newer to the property of database file.

i am using .mdb database product. thank you for the help,

i will give it a try and tell how will it go ^_^

Thanks problem solved O:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.