C# Asp.Net Set Image Url to byte[]

mybwu_com發表於2013-12-30

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

相關文章