Answered by:
Export database data to excel using ajax in MVC

Question
-
How to export data to excel through ajax call , after clicking on the button executed without any error but excel file is not downloaded
lokesh
- Moved by Anne Jing Tuesday, May 27, 2014 7:43 AM off-topic
Monday, May 26, 2014 4:43 PM
Answers
-
It has a MVC section.
Monday, May 26, 2014 5:11 PM
All replies
-
It has a MVC section.
Monday, May 26, 2014 5:11 PM -
Monday, May 26, 2014 5:41 PM
-
Hi shakeer hussain,
in my web page no gridview is there, i am calling export action method through ajax call.i wrote same thing mentioned in the above link it is executed free of bug but not exported the data into excel
lokesh
Monday, May 26, 2014 5:49 PM -
Are export data into excel directly from database?
PS.Shakeer Hussain
- Edited by Syed Shakeer Hussain Monday, May 26, 2014 5:57 PM
Monday, May 26, 2014 5:56 PM -
yes, i am exporting data to excel based on some conditions.
lokesh
Monday, May 26, 2014 6:00 PM -
Check this link
http://www.dotnetboss.com/2010/05/13/how-to-datatable-export-to-excel-in-asp-net/
PS.Shakeer Hussain
Monday, May 26, 2014 6:08 PM -
Hi,
its not exporting to excel
lokesh
Monday, May 26, 2014 6:25 PM