以前我用IList<model> aa这个可以实现删除最后一行,并放入一个model中如:IList<Student> students=....get..
 Student s=students[students.Count-1];
 students.RemoveAt(students.Count-1);这样在后面还是可以用Student s里的内容,也就转移到了另一个地方但是 今天是用的DataSet
DataSet students=...get...
DataRow row=students.Tables[0].Rows[students.Count-1];
students.Tables[0].Rows.RemoveAt(...Count-1);这样后面用row的里候就报错,说已经删除了,这个怎么处理?我想到复制,但是没有提供那个方法!