This source code has a tutorial at my website for the step by step explanation on how to connect to a database and make changes like add/update/delete.
The primary purpose of this code is to teach beginner programmer to familiarize the concept of database programming.
This is particularly for beginner but may also applicable for intermediate programmer.
If you have questions don't hesitate to visit my website at http://www.sourcecodester.com.