HI, I am trying to add create a feature using the rowbuffer and create row functions in c#. I am using the following code to attempt creating the polyline.
using (geodb)
{
using (FeatureClass fc = geodb.OpenDataset<FeatureClass>("6"))
{
RowBuffer rowBuffer = fc.CreateRowBuffer();
rowBuffer["SHAPE"] = poly;
Feature feat= fc.CreateRow(rowBuffer);
fc.Dispose();
}
geodb.Dispose();
}
I receive the error
A geodatabase exception has occurred.
on the fc.createrow