Oct 14, 2002 #1 Bwintech Programmer Jan 25, 2002 25 GB Hi Can I export a SQL-Driven recordset directly to a excel spreadsheet, without use of a export wizard - i.e. through ASP code? Thanks in advance for your help, Regards, Brett
Hi Can I export a SQL-Driven recordset directly to a excel spreadsheet, without use of a export wizard - i.e. through ASP code? Thanks in advance for your help, Regards, Brett
Oct 14, 2002 #2 TonyU Technical User Feb 14, 2001 1,317 US [tt] Sample 1: http://www.asp101.com/samples/xl.asp Sample 2: http://www.4guysfromrolla.com/webtech/022801-1.shtml Upvote 0 Downvote
[tt] Sample 1: http://www.asp101.com/samples/xl.asp Sample 2: http://www.4guysfromrolla.com/webtech/022801-1.shtml
Oct 16, 2002 #3 y2kprawn Programmer Oct 16, 2002 3 IE You can cheat, if the local machine has excel installed you can make the HTML page appear in Excel instead of HTML. All you need to do is change Response.ContentType = "application/vnd.ms-excel" at the beginning of the file, Upvote 0 Downvote
You can cheat, if the local machine has excel installed you can make the HTML page appear in Excel instead of HTML. All you need to do is change Response.ContentType = "application/vnd.ms-excel" at the beginning of the file,