try this:
using System.Drawing;
if (dr["Photo"].ToString() != "")
{
Byte[] image = (Byte[])(dr["Photo"]);
string src = "data:image/jpeg;base64," + Convert.ToBase64String(image);
picPhoto.ImageUrl = src;
}
else
{
picPhoto.ImageUrl = "~/images/DefaultImg.png";
}