Hey all, I'm relatively new to connecting to DB. I was able to successfully accomplish this task but I have a few questions.
Below is my code for connecting to the database and retrieving information/sending information.
This was built more for a proof of concept, not efficiency or much exception handling and isn't very dynamic. I was just wondering if this code would be considered 'accepted' by programming conventions, and if not, are there any problems/flaws with connecting to a database with the below parameters? Is there anything you see wrong/should do differently?