How do I: Part 2: Pass a DataTable from a Class to the Main.
Hello:
This question is specific to theLizard:
Here is my ClassDB. In the LoadListBox routine, I had to leave a few lines in. If I took them out, it stopped working. It took me a long time to get it to work because of a bug I created.
The lines that you wanted me to take out. I moved them into the Connection() and now I can remove them. Its cool, I am learning slowly but surely.
//DBDataAdapter = SetupDataAdapter();
//DBDataAdapter.SelectCommand = DBCommand;
//DBDataAdapter.SelectCommand.Connection = DBConnection;