A Simple Problem
I am a reader of "Beginning ASP.NET using C#".
In my code,here it goes like this:
"<asp:textbox id="textbox1 " />"
But I got an error message saying:
"textbox" should be contained in a form having the property"runat=server".
As we know ,however,when we post to another page with :
"<form action="responsepage.aspx" method="post" >
other codes
</form>"
it is wrong to add the property"runat=server".
So,It really puzzled me.
Is there something wrong with my .NET Framework? (its edition is 1.1.4322.573)
By the way ,my IIS is OK,because I successfully tried many asp webs.
I need YOUR HELP ASAP!! Thanks very much!!
|