<FORM METHOD="POST" on click="java script:window.location.href='exporttoexcel.jsp "> <INPUT NAME="Results"TYPE="submit" VALUE="Export to Excel"> </FORM>
Asp file:
<%
Response.ContentType = "application/x-download"
Response.AddHeader = ("content-disposition","attachment;filename=Test.xls")
%>

New Topic/Question
Reply



MultiQuote




|