Basically, I have a checkbox list, and on button click, im asking itextsharp to create a list and put it in the field based on whats checked.
here's what a i have:
using li = System.Web.UI.WebControls.ListItem;
using it = iTextSharp.text;
it.List intList = new it.List(it.List.UNORDERED);
foreach (li li in cblInterior.Items)
if (li.Selected == true)
but, i get an error at the last line saying:
"The best overloaded method match for 'iTextsharp.text.pdf.AcroFields.SetField(string, string)' has some invalid arguments."
But I can't tell what im missing. Doesnt "intList.Add(li.Text)" turn it into a string already? Is it a syntax problem with itextsharp?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)