Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
I want to export a report rendered inside a div into PDF format.

I had used itextsharp which is working fine with small content but not working with huge data.

It says object reference not set to an instance of an object.

Can anybody suggest another way of it.

I can create by using crystal report but I face another problem that the report that I want to export in PDF have not fixed columns it can be 10, 30, 50 and so on.

What I have tried:

I have used Itextsharp DLL but it through an error with large data.
Posted
Updated 8-Jul-16 3:14am
Comments
SRS(The Coder) 7-Jul-16 8:44am    
You can simply try jsPDF to generate report from any div content directly.

https://github.com/MrRio/jsPDF

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900