Control can't get out at a perticular condition ch
Hello All Friends,
I am raj from New Delhi,India.
I am Developing a WebSite on ASP.Net Platform.Now By two text boxex i am taking User Id and Password and validating them againt the user Id and Password stored in the database. This validation I have performed in the button's Click event. Now I want that if user_id is not available(Means already created before) i want that a message (User Id not available--choose different One) should be displayed to the user, and rest of code should not execute. But My all code in the event runs and never stops at that statement.
What should i do.
If u have any answer then plz reply me.
Thanks.
rajkumar
__________________
rajkumar
|