Outputting CSV from an ASP page
Read OriginalThis article provides a practical code example in classic ASP (VBScript) for querying a SQL database and outputting the results as a downloadable CSV file. It explains how to set the correct HTTP headers for file attachment, write column headers, and iterate through a recordset to format data for Excel and other spreadsheet applications.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser