How to Creating HTML file in Visual Basic.NET DLL

  • Thread starter Thread starter pari kanaga
  • Start date Start date
P

pari kanaga

Hi,
Is there anyway to create a HTML file and Archieve by calling a dll in
aspx page.

I know its possible to render a html file by HtmlTextWriter. But I don't
know How to use in Dll.

thanks
pk
 
You can create a function, within a dll assembly which returns a string
containing the HTML code which you can use in your aspx page.
You can also create a physical HTML file, store it somewhere and then
redirect your aspx page to it.

hope this helps,
John
 
Back
Top