Hi Friends
I want to set the image to picture box from get sql.
I wrote this coding , But Its not Working Properly .
byte[] mydata=new byte[0];
mydata=(byte[])dt.Rows[0]["img"];
int arraysize=mydata.GetUpperBound(0);
MemoryStream stream = new MemoryStream(mydata,0,arraysize);
img.Image = Image.FromStream(stream);
where i wrote wrongly Please tell ..
Thanks in Advance :)