Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve blob value from a table then show it int
Message
De
14/05/2011 07:32:24
 
 
À
12/05/2011 09:50:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MySQL
Application:
Web
Divers
Thread ID:
01510454
Message ID:
01510672
Vues:
54
>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));
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform