I am creating a library management system using visual c# and Ms Access.
I am able to search entries from the database but i am unable to add,,delete,or update entries fromt he database.In short i am unable to modify the database.
I am trying to modify the database like this
I have used OleDbConnection,OleDbCommand objects to do this, i used jet 4.0 as provider.It is not giving any error though the database is nt getting modified , when i digged a lil deep and saw the bin folder of my project then i was schocked to see that there was a copy of my database (.mdb) ther and all the changes have been applied to it.But when i run the program once again it s copying the orginal database again into the bin folder so the changes are nt evident ,
suggest some solution to this....
Error updating the database
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Jul 9, 2008, 8:50 PM EDT
If you could show the code that you are using it would be a lot easier to determine what might be wrong.
rizwan hudda4 reputationPosted Jul 10, 2008, 8:00 AM EDT
i figured out the problem
i had to change the select the database and change the copy always option to
copy only when new ...
and it s working fine now!!