Yes, it is the get connection and as I said in the question, it is also stmt.ExecuteQuery(sqlCmdString). Theses are on lines 12 and 20. in the information that the company gave me and a book that I have this should be all I need, but it must be missing something.