Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve blob value from a table then show it int
Message
From
14/05/2011 07:32:24
 
 
To
12/05/2011 09:50:43
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MySQL
Application:
Web
Miscellaneous
Thread ID:
01510454
Message ID:
01510672
Views:
53
>Hello All,
>
>how to retrieve blob value from a table then show it into a picture box?

Couple of steps I guess.
(a) get the blob value into a byte array. Not sure about MySQL but maybe DataReader.GetBytes() ?
(b) create the image : pictureBox.Image = Image.FromStream(new MemoryStream(byteArray));
Previous
Reply
Map
View

Click here to load this message in the networking platform