signup page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siddu
    New Member
    • Nov 2006
    • 42

    #1

    signup page

    Hi ..
    I am having signup page that contains username,pwd,co nfpwd,Email,Add ress and one save button .
    when user enter his details and press save button it should save details in database.
    i have done upto here.But my problem is:
    if Email Entered already Exsists in database then it should display a message that Email already exists in Database.
    For this what i have to write Code .Pls send me the Code .

    i want to display user in the FrontEnd Label.

    Thank you..
  • paribond61629
    New Member
    • Feb 2007
    • 3

    #2
    Place a label in the page and keep its visible property to false initially, when the emailid is alredy present in the database and u wanna show the message set the visible proerty to true and set the text to the message

    lblMessage.visi ble=false; (in pageload)

    btnSave_click(o bject sender, EventArgs e)
    {
    if(mailIdpresen t==true)
    lblMessage.visi ble=true;
    lblMessage.text ="Email Id already exists";
    }

    Comment

    Working...