Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Default' does not contain a definition for 'TextBox2' and n
Message
From
24/09/2009 22:31:22
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
_Default' does not contain a definition for 'TextBox2' and n
Environment versions
Environment:
C# 3.0
Network:
Windows 2003 Server
Database:
MySQL
Application:
Web
Miscellaneous
Thread ID:
01426054
Message ID:
01426054
Views:
155
Dear All,

I am new to ASP.NET.. why I got below error message, when trying to get value of TextBox2

protected void Button1_Click(object sender, EventArgs e)
{
string muserpass = this.TextBox2.Text;
...
....
}

Error 9 '_Default' does not contain a definition for 'TextBox2' and no extension method 'TextBox2' accepting a first argument of type '_Default' could be found (are you missing a using directive or an assembly reference?) C:\Project\Learn\Learn10\Default.aspx.cs 25 33 Learn10


Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform