PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

DataGridView and PDF/excel
http://forum.pdfsharp.de/viewtopic.php?f=2&t=1542
Page 1 of 1

Author:  marc2010 [ Thu Feb 10, 2011 3:03 pm ]
Post subject:  DataGridView and PDF/excel

Hello :D

how can I generate a PDF or Excel file from a datagridview ? I have searched for hours but didn't succeed ...
From a string, it's working with pdfsharp ... but from a datagridview, when I put (name of the DGV).rows.item(x).cells.item(y).value, the generated PDF has only the text inside the cell of the table, not the table also ... =(

Thanks :)

ps : I'm working under VB.NET 2010

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/