Byte[] bytes = br.ReadBytes((Int32)fs.Length); string base64String = Convert.ToBase64String(bytes, 0, bytes.Length); Image1.ImageUrl = "data:image/png;base64," + base64String;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)