Invalid userid and pw in the dbconnect method , should prompt again?
Pls look at this link , and guide me in achieving the correct uerid and password .
I have written methods to get the user id , password
And a method to connect to the database with the paramters user id , password.:(
If the user id or password is wrong and it could not connect to the database,
it now gives an error message and exits out of the program .
But i dont want it to exit , instead it should keep asking the userid and pw till it connects to the database.[/B]
All the 3 methods.. are in red color for easy looking at them .
Pls help me ..how to get back and ask for uerid and password ..from the catch block..