Hello,
I'm just trying to learn the new ASP.NET web forms and have ran into a problem. I copied the text off the textbook and tried to run it but got the following error msg:
Server Error in '/' Application.
Control '_ctl0' of type 'TextBox' must be placed inside a form tag with runat=server.
------------------
The code is very simple:
<%@ Page Language="VB" %>
<html><body>
<asp:TextBox value="Welcome to ASP.NET!" runat="server"/>
</body></html>
What am I doing wrong?.. Is my IIS not set up properly?
Thanks.
T
I'm just trying to learn the new ASP.NET web forms and have ran into a problem. I copied the text off the textbook and tried to run it but got the following error msg:
Server Error in '/' Application.
Control '_ctl0' of type 'TextBox' must be placed inside a form tag with runat=server.
------------------
The code is very simple:
<%@ Page Language="VB" %>
<html><body>
<asp:TextBox value="Welcome to ASP.NET!" runat="server"/>
</body></html>
What am I doing wrong?.. Is my IIS not set up properly?
Thanks.
T