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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top