iTextSharp Error: The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)

Last Reply 11 months ago By Mudassar

Posted 11 months ago

Hi. I intend to implement below in one of my projects:

https://www.aspsnippets.com/Articles/Export-DataSet-or-DataTable-to-Word-Excel-PDF-and-CSV-Formats.aspx

I'm getting error while implementing below namespaces:

using iTextSharp.text;

using iTextSharp.text.pdf;

using iTextSharp.text.html;

using iTextSharp.text.html.simpleparser;

Appreciate all your help. Thanks. Sat

Posted 11 months ago

Please download the sample code and add the reference of the missing DLL in your BIN folder.