if( bb.m_dr["Foto"] != null && bb.m_dr["Foto"] != System.DBNull.Value ) // add this line aa.Foto = (Image)bb.m_dr["Foto"];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)