views:

127

answers:

0

Hi There,

I am trying to export an image to Excel file from Asp.Net C# page. My code is working fine, and I can merge let say 6 columns in excel file and put the image on these cells.

What I would like to know is how to Center this image in the middle of these merged cells?

I've already tried every possible solution came to my mind, Like I could have a table,add a and then try to center the image, not working,

second solution was to add a dynamically created div and add style to center the image, not working,

after searching for a long time,I could not find any proper answer,

any Ideas?

Thanks