468,107 Members | 1,347 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.

1
i tried this code
Dim bytes As [Byte]() = ds.Tables(0).Rows(r).Item(4)
Dim ms As New MemoryStream(bytes)
Dim im As Image = Image.FromStream(ms)
PictureBox1.Image = im
Oct 28 '16 #1
1 1911
IronRazer
83 64KB
How are you saving the image bytes to the database, can you show that code?
Oct 28 '16 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by =?Utf-8?B?TWFudmVuZHJhIEt1bWFy?= | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.