We were given a programming assignment in my network programming class that is defined as below. This is my solution to the assignment. I know it isn’t the best code in the world, but it works and will hopefully help someone else who is in need of knowing how to connect to a MSQL database using C#.
Write a program that will connect to the Image Database, list the categories from the category table then when the user selects a category in the list, show the name of all images in that category in another list box. To access the database, you will need to be logged into CSEVPN. (more…)