Forum Moderators: open

Message Too Old, No Replies

How do you create an html file (via asp) from a template, then save it

         

bierbaum

1:30 pm on Jul 2, 2003 (gmt 0)



Here is the situation. I have a database with testimonial information. The person I am developing this for needs to have offline access to all this information on his laptop at the jobsite. He is very computer illiterate so I want to be able to port all the data from the DB into html pages at the click of a button so they can be downloaded to a laptop.

What is the best way of writing files and how do I do it?

Thanks in advance
Brian

korkus2000

1:38 pm on Jul 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the Board Brian,

You are going to use the FileSystemObject and OpenAsTextStream [msdn.microsoft.com]. If you do a search for OpenAsTextStream you should find tutorials on how to do it. Basically. You will be opening the DB and then writting it to the htm page.