Login View troubles

Discussion in 'ASP' started by CaJack, May 7, 2007.

  1. CaJack

    CaJack New Member

    Joined:
    Mar 21, 2007
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I have a login view (loginview1) with a button (but1) and a text box (textbox1) inside it that appears to logged in users. But when ever I write the code for the button click event it says that textbox1 is not declared. when the button is clicked I want the word in textbox1 to be stored as an String, so I'm doing this...
    Code:
     myString = TextBox1.Text
    But it says textbox 1 isnt declared, so I tried this...
    Code:
    myString = LoginView1.TextBox1.Text
    That hasnt worked, can anybody help me out please?

    Thanks.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice