Forum Moderators: open
i spent much time modifying my code removing "set" and defining all variables etc..
finally i faced a problem i couldn,t solve
there is a function in Asp code like that
<% function something
...some code
%>
some html tags
<%
...some code
etc..
end function
%>
this code doesn,t work on Asp .NET
because Asp .NET doesn,t support functions in <% %>
and after i searched for a solution i found that to make this code work i have to remove <% ... %> and convert it to <script runat="server" ...>...</script>
and remove all inline <% ... %> and print all html tags using Response.write("...")
this is the only solution i found
but this is a horrible solution for me because i have huge inline <% ... %> in the function and to write it in response.write("...") form i need to write response.write("...") handreds of time
if any one know a better way than this please help
If you want to run .NET, use .NET's functionality, not ASP's.