This content has been marked as final. Show 3 replies
According to me you have to create a class for login window and and connect it to database, then give the path of that file in the starting of batch file, means call the that file immediatlly when u invoke batch file.
From login window u can connect next class/page.
Other the this solution if u find any solution then put it here in reply, but that way i tried.
Thanks for ur quick response, Brijesh!!
Actually, I do not want to use another class or applet for getting the user id or password.
I have written a generic batch which prompts the user for id and pwd. Using these parameters, the batch will connect to the database and run another sql or dat file.
Using another class or applet is not what I am looking for.....
Can you please tell me how you wrote generic batch which prompts the user for id and pwd and connect to the database and run another sql or dat file?