Hi!

I don't have access to office on the server. Does anyone know an open source way to generate an xls file for download? Or is there any way of generating a file that upon download will auto open into excel?

Thanks

ramil

Have you tried using a tab delimited file and give it the xls extenstion ?
Excel will open the file and treate it like an xls file.

// Jerry

Have you tried using a tab delimited file and give it the xls extenstion ?
Excel will open the file and treate it like an xls file.

// Jerry

Hello Jerry,

Thank you for your response. I found one, I used these codes

this.Context.Response.Clear();
this.Context.Response.AppendHeader("Content-Type", "application/vnd.ms-excel");
this.Context.Response.AppendHeader("Content-disposition", "attachment; filename=my.xls");