|
Hi all and thanx in advance..
Actually i am beginner of ASP Classic... And i want to know that if i made an anchor tag in our ASP page and using this i am downloading the data in EXCEL.xls format. But download link also appear over there. So i wanbt to remove it from there?????? How........................
code is:
<%
if Request("download")="excel" then
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment;filename=OnpremiseReport.xls"
end if
%>
<td colspan="7" align="left" style="padding-left:15px"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="aa.asp?download=excel" title="For download">Download Excel</a></font></td>
|