D
Dhruba Bandopadhyay
I need help converting a ASP page to ASP.NET. I have a ASP page that is in
the form of:
<% Sub Start() Call DrawPage1() Call DrawPage2() End Sub
Sub DrawPage1() %>
<!-- Full HTML code for a independent page 1 -->
<% End Sub
Sub DrawPage2() %>
<!-- Full HTML code for a independent page 2 -->
<% End Sub %>
-----------------
Basically I have many functions (more than 10) to display a full HTML page.
Depending on a condition, a different page is displayed by the appropriate
function.
In ASP.NET I understand that function declarations must be in server
compiled sections <script runat="server"></script>. This means all my HTML
code must be wrapped up line-by-line in Response.Write() calls, and escaping
the double-quotes. This is very tedious & time-consuming. Does anyone know
any other quicker way to convert my ASP page?
the form of:
<% Sub Start() Call DrawPage1() Call DrawPage2() End Sub
Sub DrawPage1() %>
<!-- Full HTML code for a independent page 1 -->
<% End Sub
Sub DrawPage2() %>
<!-- Full HTML code for a independent page 2 -->
<% End Sub %>
-----------------
Basically I have many functions (more than 10) to display a full HTML page.
Depending on a condition, a different page is displayed by the appropriate
function.
In ASP.NET I understand that function declarations must be in server
compiled sections <script runat="server"></script>. This means all my HTML
code must be wrapped up line-by-line in Response.Write() calls, and escaping
the double-quotes. This is very tedious & time-consuming. Does anyone know
any other quicker way to convert my ASP page?