Hey,
Are you storing the entire image byte into database?
If so, just use
byte[] byteArrayIn = Encoding.UTF8.GetBytes(imagebyte)
MemoryStream ms = new MemoryStream(byteArrayIn);
Image returnImage = Image.FromStream(ms);
return returnImage;
If you are storing the url on the database use
string uri = ds.Tables[0].Rows[ctrl][4].ToString();
Image.FromFile(uri);