from ASP.NET to HTM

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

How do I get an HTM page ( say INDEX.HTM) from an .aspx file in VB.NET? (I
am assuming that is doable)

Thanks
 
You could rund the aspx by opening it in you browser and then copying
the html.

if that is what you mean...
 
I'm not sure that I understand your question but this may help:

System.IO.TextWriter tw = new System.IO.StringWriter();
this.Server.Execute("Index.htm",tw);
this.Literal1.Text = tw.ToString();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top