Please could someone show me how to convert the 3 Classic ASP scripts I posted here http://www.sitepoint.com/forums/show...=1#post5162673 so I can use the .aspx extension and the automatic compiling?

It hopefully will kick-start my enthusiasm for .NET

As soon as a put in a function to set the h1, I get the error "Statement cannot appear within a method body. End of method assumed"
Code:
<%
Response.ContentType="application/x-javascript"
Response.AddHeader("Content-Type", "application/x-javascript")
dim H1
function getH1()
 H1="db Loaded"
end function
%>o=document.createElement("<h1>");
o.innerHTML="<%=H1%>";
document.getElementsByTagName("div")[0].appendChild(o);