General information
Title:
_Default' does not contain a definition for 'TextBox2' and n
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only