IDataset pd = featureClass as IDataset;
IWorkspace pws = pd.Workspace;
IWorkspaceEdit pwe = pws as IWorkspaceEdit;
pwe.StartEditing(false);
foreach (var key in sqlstr.Keys)
{
string sql = sqlstr[key];
IQueryFilter queryFilter = new QueryFilterClass();
queryFilter.WhereClause = sql;
IFeatureCursor featureCursor = featureClass.Search(queryFilter, false);
IFeature feature = featureCursor.NextFeature();
while (feature != null)
{
feature.set_Value(dlbm_index, dlbm_new);
feature.Store();
feature = featureCursor.NextFeature();
}
}
pwe.StopEditing(true);
featureClass = pd as IFeatureClass;