My table has a blob type field,it's a "*.jpg" picture
how can I show it in control picturebox
I use System.Drawing.Image.FromStream(stream),but it's error why
Pls help me about blob
my code is from vs.net sdk,it's good,but it's not showing in picturebox!

How to show a picture from sql server( BLOB type )
moker
Oleg Starodumov
leafnode
byte[] b = (byte[])myDataSet.Tables[0].Rows["MyPictureField"];
if (b != null)
{
if(b.Length > 0)
{
MemoryStream ms = new MemoryStream(b);
bmp = new Bitmap(ms);
ms.Close();
}
}