Store BLOB Data using arcobject.
ESRI.ArcGIS.esriSystem.IMemoryBlobStream memoryBlobStream = new ESRI.ArcGIS.esriSystem.MemoryBlobStreamClass();
memoryBlobStream.LoadFromFile(string_Filename);
//Add a new row to the table where a field having datatype blob
ESRI.ArcGIS.Geodatabase.IRow row = table.CreateRow();
//Find Blob field Index suppose field index ia 2.
//Get the Blob Field from the Table.
ESRI.ArcGIS.Geodatabase.IFields fields = row.Fields;
ESRI.ArcGIS.Geodatabase.IField field = fields.get_Field(2);
//we also check the type of field
if (field.Type == ESRI.ArcGIS.Geodatabase.esriFieldType.esriFieldTypeBlob)
{
//Write the Blob (binary) stream to the Blob Field and save
row.set_Value(2, (System.Object)memoryBlobStream);
row.Store();
return true;
}
else
{
//unsuccessful
return false;
}