[SOLVED] Export Datagridview to Excel

Answered
0
0

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

 

 

  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
0
0

Brilliant, this is exactly what I needed. thanks

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.