excel spooling in VS08
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, My gridview has some data which i want to spool in excel. For that i wrote a code in a button click event like this protected void imbtnexcel_Click() { Response.ContentType = "application/vnd.ms-Excel"; Response.AddHeader("Content-Disposition", "inline;filename=ExcelRPT.xls"); } im using VS2008.whereas this is working in VS2005 Here the event is getting fired but excel file is not opening.How to acheive this?
T.Balaji