I am sorry to ask this question again, i was going thru other post related to this one but can't understand how to modify my code based on answers, so i post it here for help.
Following code throws the exception and i wast trying to modify my code like the one suggested in other post enter link description here
foreach (Assessment.tblMitchellLandscapeIDRow MitchellRow in objAssessment.tblMitchellLandscapeID.Rows)
{
if (MitchellRow.AssessmentVersionID == AssessmentVersionID)
DeleteMitchellLandscape(ref objAssessment, MitchellRow.MitchellID, UserFullname, ref ErrorMessage);
}