0
votes

Currently I try to export an gridview (include an image each row) to PDF file. I find out that PdfPTable table = new PdfPTable(TotalColumns) can help me modify and insert the image to the column. like "table.AddCell(image);"

but how do i insert the gridview (each row)'s each cell's value in to that? (without using findcontrol)

thanks a lot.

1

1 Answers

0
votes

it's asp.net webforms, right? here is the sample about converting a gridview to pdf using iTextSharp: [^]