exception while exporting data from gridview

Posted by Deepakji under C# on 5/11/2012 | Points: 10 | Views : 14511 | Status : [Member] | Replies : 1
[System.InvalidCastException] = {"Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'."}

the above code is an exception which i am getting while exporting data from grid to pdf please let me know how to over come that because i have seen that in the forums but no proper answers please tell its urgent.




Responses

Posted by: Sakthi.Singaravel on: 5/11/2012 [Member] Silver | Points: 25

Up
0
Down
check ur code with this article...

http://www.dotnetfunda.com/articles/article977-pdf-generator-in-net--dynamically-generate-pdf-in-aspnet-.aspx

Regards,
Singaravel M

Deepakji, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response