Hi
your program is correct one...
I) However it will be good (I think so..) if you check the username & password at storeprocedure level & return true or false. then no need of using this data reader.
II) You didn't mention what kind of error you are getting. without knowing that how can i help you.
If this helps you then please let me know.
Thanks
Anil Goyal
Regards
Anil Goyal
|