saving dataset in excel and allow user to download it in the client machine.
Posted
by Jebli
on Stack Overflow
See other posts from Stack Overflow
or by Jebli
Published on 2009-08-17T08:41:57Z
Indexed on
2010/03/24
11:03 UTC
Read the original article
Hit count: 223
Hi,
I am developing an application where i want i am displaying a dataset in the datagrid view for the user.Now the user wants to download the data in the datagridview in an excel format.How can i do it ?
1) should i write the dataset in the excel and save it the server before the user download the file ?
2) Can i use a hyper link and set the path of the file that is saved in the server to the hyper link hRef property , so that the user can click and download the file ?
I am using C# ASP.net 2.0
Please help !
© Stack Overflow or respective owner