1. Include namespace
2. Instantiate connection and command
3. Compose sql insert query
4. Execute query
5. Compose sql select query
6. Instantiate reader
7. Execute query and store result in reader
8. Run through reader to get values from database
There is a great article on this forum about using a database in your program. Please read through it, try it out, and then if you have problems come back and ask some specific questions.
Comment