Last post Jul 13, 2017 03:12 PM by Mikesdotnetting
Jul 13, 2017 02:47 PM|xandeq|LINK
I need to get data from database and export it straight into an Excel file and download it, instead of loading a gridview and then clicking on a button to export those data.
Any solutions or coding ?
Thanks in advance!
Jul 13, 2017 03:12 PM|Mikesdotnetting|LINK
Yes. Look at the second approach in the following example, and ignore the title of the article: https://www.mikesdotnetting.com/article/278/a-better-way-to-export-gridviews-to-excel