I have a container field in the table and I would like to add in excel.
I tried below code
if(table1.Image1 != conNull())
{
System.Drawing.Image image1 = table1.Image1;
var excelImage = worksheet.Drawings.AddPicture("image1",image1);
excelImage.SetPosition(20, 0, 5, 0);
}
and The type of System.Drawing.Image does not match with container.
How can I add picture in excel using epplus