Exporting DataGrid to PDF using C #

I am new to C #. Can you suggest a helpful link for converting datagrid to PDF.

+2


source to share


2 answers


The problem you have is "how do you want to lay it out?" You can use something like iTextSharp, which is a great library, but not good enough for posting simple things like this. Instead, I create an RDLC based report using VS Report Designer and then a LocalReport Render () class to render the report using your dataset as a data source, in PDF format.



+1


source


http://itextsharp.sourceforge.net/



iTextSharp is an open source library that you can use to create and manipulate PDF files.

0


source







All Articles