//during data bind img.ImageUrl="data:image/jpg;base64,"+Convert.ToBase64String(data.ImgStream); //data.ImgStream is byte[]