<asp:Image ID="ImgProfilePic" runat="server" />
// Get your image from database, I hope it is stored in binary format, so it would return a byte array byte[] imagem = (byte[])(dr["IMG"]); string PROFILE_PIC = Convert.ToBase64String(imagem); ImgProfilePic.ImageUrl = String.Format("data:image/jpg;base64,{0}", PROFILE_PIC);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)