Hi,
I am new to ASP.net and to these forums. I have read similar post but been unable to determine a workaround for my problem.
The error i am getting is:
Code:
Control 'ctl00_ContentPlaceHolder1_FormView1' of type 'FormView' must be placed inside a form tag with runat=server.
I am using a master page and wanting to display a formview from my database in the content section. Everything looks great in design view until i try to view the page.
I have checked the code and there are two tags that contain runat="Server", maybe this is the problem!?!
Code:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Code:
<asp:FormView ID="FormView1" runat="server" DataKeyNames="fllog_ref" DataSourceID="SqlDataSource1" DefaultMode="Insert">
Whats the fix?
Ste