Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Login View troubles (http://www.go4expert.com/forums/login-view-troubles-t4217/)

CaJack 7May2007 23:27

Login View troubles
 
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.


All times are GMT +5.5. The time now is 07:22.