Export Grid view to excel and save excel file to folder

前端 未结 7 746
Happy的楠姐
Happy的楠姐 2020-12-16 06:05

I want to save excel file which export data of grid view. I have written code to export gridview data to excel but I don\'t know how to save exported file.

Following

7条回答
  •  既然无缘
    2020-12-16 06:35

    One another solution for this problem solved here : http://codentq.wordpress.com/2014/02/13/write-excel-file-from-dataset/

    you have to get your grid view data in data set by method mention on this article : http://codentq.wordpress.com/2014/02/13/get-data-from-grid-to-datatable-or-dataset/

提交回复
热议问题