How to create in if statement on an aspx page?
I need create form at the first launch and the following are different:
<body>
<% if (!Page.IsPostBack )
{%>
<form id="Form1" runat="server">
<%}
else
{%>
<form id="Form1" runat="server" action="Page.aspx" method="post">
<%}%>
</form>
</body>