代码问题,例如: foreach(DataRowdrowindt.rows) { dt.rows.remove(drow); ) 就可能出现你说的错误。 在遍历集合成员的时候,不能删除成员。<wbr></wbr>