I have seen couple options discussed on this forum to export results from DataGridview to Excel file and download it to client machine, I have seen the options of using ClosedXML, there are lots of examples online for Asp.net and Desktop applications but not sure how I will be able to use ClosedXML for wiseJ architecture.
I have also tried to use ExportLibrary.dll but the file get produced for Datagridview is empty.
Does anyone has a working script of exporting datagridview to Excel in WiseJ?
Thanks
Hi Shahbaz,
I’ve attached a small sample demonstrating how to save the entire contents of the DataGridView to an Excel file using ClosedXML.
Please let me know if you have any issues or questions!
Best,
Levie
Brilliant, this is exactly what I needed. thanks
Please login first to submit.