iTextSharp Error: Cannot convert type Collections.Generic.KeyValuePair<string, AcroFields.Item> to System.Collections.DictionaryEntry

Last Reply 4 months ago By pandeyism

Posted 4 months ago

Hello,

I try to fill up all the fields in I9 form

I got the errors:  Please help.  Thank you.

Severity Code Description Project File Line Suppression State Error CS0030 Cannot convert type 'System.Collections.Generic.KeyValuePair<string, iTextSharp.text.pdf.AcroFields.Item>' to 'System.Collections.DictionaryEntry' I9PDF C:\Users\Katie Le\source\repos\I9PDF\I9PDF\ListFormFields.aspx.cs 34 Active

SeverityCodeDescriptionProjectFileLineSuppression StateErrorCS0103The name 'PDFFieldType' does not exist in the current contextI9PDFC:\Users\Katie Le\source\repos\I9PDF\I9PDF\ListFormFields.aspx.cs36Active

SeverityCodeDescriptionProjectFileLineSuppression StateErrorCS0246The type or namespace name 'PDFCheckBoxFieldType' could not be found (are you missing a using directive or an assembly reference?)I9PDFC:\Users\Katie Le\source\repos\I9PDF\I9PDF\ListFormFields.aspx.cs38Active