Export from dataGridView1

Jan 9, 2013 at 9:28 PM


I have one questions - how i can export all data from dataGridView? I use NPOI 2 and .NET 4.0

Jan 10, 2013 at 6:48 PM

Communicating with dataGridView is not NPOI's duty. But you can write your own code to iterate the data in dataGridView row by row, cell by cell and then use NPOI to export to the xls file.