<% ''// Set the name of the file that you are going to output FileName = "JTDI Report.xls" ''// Build up a regular HTML table (this translates into the rows and cells in excel) sData = "<table><tr><th></th><th></th></tr>" sData = sData & "<tr><td></td><td></td></tr>" sData = sData & "</table>" ''// Write out the table response.write sData ''// Set the Header info Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "content-disposition","attachment; filename=" & FileName %>
This post has been edited by knockkneed81: 15 October 2009 - 05:10 AM

New Topic/Question
Reply




MultiQuote





|