I\'m writing a small application for college, a video rental application. I have no problems reading from the database, but I cannot update the data in the tables.
A fellow student pointed this out to me:
"From what I understand, the database that your code updates, unless you hard coded the path to the database is the file in your /bin/debug/ folder. The file you view in Visual studio is the one in your project root."
I updated the connection to point to the database in the bin folder.