I'm making a little app, and I'm having trouble connecting it to my DB. I have a GUI taking the inputs and passing them to this connection class (I realise a lot of this is superfluous, but I'll tidy up once I get things working).
I'm applying for jobs and want to practice in the meantime :O)
/* * To change this template, choose Tools | Templates * and open the template in the editor. */
With the cast there, as it was, I was able to get quite far - if I supplied the wrong username, it would halt me, and then again with the wrong password - so it's clearly communicating with the DB, just not happy with the connection.
Thanks for the input - what do you think I should have done? How should this have been arranged? I thought a separate class for connection stuff would make things clearer - is that the reason for my errors? [ September 16, 2008: Message edited by: Dan Byers ]