Hi all!
i have directory path to image files stored in an access database. i want to retrieve the images that the paths are pointing to an add them to the cells of a DataGrid control i have on my form. could anyone point out the way to do that? Appreciate a little code example. Thanks for any input.
Thanks!
Adding an image to gridview control cell
Page 1 of 11 Replies - 224 Views - Last Post: 24 June 2012 - 04:27 AM
Replies To: Adding an image to gridview control cell
#2
Re: Adding an image to gridview control cell
Posted 24 June 2012 - 04:27 AM
If you know the path of the image then it's simple.
Bitmap bmp = new Bitmap("c:\\image.jpg");
dg1.Rows[x].Cells[x].Value = bmp;
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|