C# .NET - How to export image from datagridview to excel in windows based c# application?
Asked By yashalakshmi on 20-Nov-13 07:41 AM
I have an application where photo is stored in sql database with datatype "image". I sucessfully retreived photo and displayed it in datagridview. Problem araises when i export photo from datagridview to excel. It just diplays "System.Drawing.Bitmap" in excel sheet. I know to export photo to excel by passing photo path. But here the condition is to export photo directly from datagridview to excel without specifying photo path as i have stored only photo in DB with "image" datatype and not stored its path.
Any experts plz do help me on this part and do needful.. this is windows based c# application
Thanks in advance.