Download text file code

Results 1 to 2 of 2

Thread: Download text file code

  1. #1
    Join Date
    Dec 1969

    Default Download text file code

    Anyone have some asp code to download the results of a recordset to a text file (or even excel) ?<BR><BR>Thanks !

  2. #2
    Join Date
    Dec 1969

    Default RE: Download text file code

    You could use the File Scripting Object (FSO) to open a file and write each record to it.<BR><BR>I think I also read somewhere, that if you change to MIME type (in the header of the page) in IE only, if you simply write out a table, it will be in Excel???<BR><BR>I would go with the first example, and then allow the user to download the file and open it.<BR><BR>HTH<BR><BR>Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts