H Hrvoje Voda May 29, 2007 #1 Is there a way to fill an imageList with images from sql server dataTable that are stored as BLOB? Hrcko
Is there a way to fill an imageList with images from sql server dataTable that are stored as BLOB? Hrcko
A Alex Meleta May 29, 2007 #2 E.g. (conceptually): <imageList>.Images.Add(Image.FromStream(<blobStream>)); WBR, Alex Meleta Blog:: devkids.blogspot.com HV> Is there a way to fill an imageList with images from sql server HV> dataTable HV> that are stored as BLOB? HV> Hrcko
E.g. (conceptually): <imageList>.Images.Add(Image.FromStream(<blobStream>)); WBR, Alex Meleta Blog:: devkids.blogspot.com HV> Is there a way to fill an imageList with images from sql server HV> dataTable HV> that are stored as BLOB? HV> Hrcko
I Ignacio Machin \( .NET/ C# MVP \) May 29, 2007 #3 Hi, Yes, you have to get it from SQL (I will assume you know how) and then use one of the Image.FromXXX methods. You could save the image in a temp file using Path.GetTempFilename and then use Image.FromFile to load it.
Hi, Yes, you have to get it from SQL (I will assume you know how) and then use one of the Image.FromXXX methods. You could save the image in a temp file using Path.GetTempFilename and then use Image.FromFile to load it.