WTD: Simple Function to Export DataGridView to Excel

  • Thread starter Thread starter Mike Wilson
  • Start date Start date
M

Mike Wilson

Dear all,

I'm sure someone has already done this, so as not to wish to re-invent the
wheel - and Google not turning up anything I can use, does anyone have a
suitable function into which I can pass a DataGridView - and have all the
columns and rows parsed and an Excel Workbook created with the DataGridView
contents and column headers transposed onto the first Worksheet?

Many thanks in advance!

Mike
 
Dear all,

I'm sure someone has already done this, so as not to wish to re-invent the
wheel - and Google not turning up anything I can use, does anyone have a
suitable function into which I can pass a DataGridView - and have all the
columns and rows parsed and an Excel Workbook created with the DataGridView
contents and column headers transposed onto the first Worksheet?

Many thanks in advance!

Mike

Check this article
http://www.codeguru.com/forum/archive/index.php/t-411456.html

--NA
 
Back
Top