ceTe,
My program reads a record set and adds a table row for each record. Code snipet;
While reader2.Read
Dim oRow As Row = otable.Rows.Add(12, ceTe.DynamicPDF.Font.Helvetica, _
10, RgbColor.Black, RgbColor.White)
Dim oCell As Cell = oRow.Cells.Add(reader2("description"))
oCell.Align = CellAlign.Left
oCell.VAlign = CellVAlign.Center
End While
I'm getting the following error when the second record is read;
An unhandled exception of type 'System.Reflection.AmbiguousMatchException' occurred in microsoft.visualbasic.dll
Additional information: No accessible overloaded 'CellList.Add' can be called without a narrowing conversion.
Thanks,
Pat
AmbiguousMatchException'
Re: AmbiguousMatchException'
Support · Jan 24, 2008Hello Pat,
This looks like it is a problem with the data type you are passing in the Add method of the CellList. You can refer to the Add
method in our help documentation for the types it takes as a parameters. Please make sure that the type returned by the reader2("description") is allowed to use in the Add method.
The error is being caused by the types not getting resolved correctly by the compiler.
Also please make sure that you have the latest build of our product. You can download the latest product from our CustomerArea
by logging in using your serial number.
Thanks,
ceTe Software Support Team.