public void ReadPictureFromAttributeTable(IRow m_row) { IFields fields = m_row.Fields; int m_BlobFieldIndex = fields.FindField("PHOTO"); IField field = fields.get_Field(m_BlobFieldIndex); if (field.Type == esriFieldType.esriFieldTypeBlob) { IMemoryBlobStream memoryBlobStream = (IMemoryBlobStream)m_row.get_Value(m_BlobFieldIndex); pictureBox1.Image = memoryBlobStream as Image; } }
Solved! Go to Solution.