By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,931 Members | 1,429 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,931 IT Pros & Developers. It's quick & easy.

Load picture from byte array

P: n/a
Hello.

I have loaded image to my bytes arraey from DB, now I want to load itt intot
the PictureBox.
howa can I do it?

Thank you.
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Try creating a memory stream from the byte array and then loading the image
from the stream.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"David Dvali" <da*********@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
Hello.

I have loaded image to my bytes arraey from DB, now I want to load itt
intot the PictureBox.
howa can I do it?

Thank you.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.