本文介绍了从dataview中删除行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




当我遍历数据视图的记录时,我会根据

条件删除datarow。但是我不想在

循环结束之前提交这些删除。使用数据表,我只需设置row.delete()并在循环结束时调用

AcceptChanges。但是我怎么能用数据视图呢




谢谢

Hi,

As I loop through a dataview''s records, I delete datarow based on a
condition. However I don''t want to commit those deletions until the
loop ends. With a datatable, i would just set row.delete() and call
AcceptChanges when the loop ends. But how can I do that with a dataview
?

Thank you

推荐答案





这篇关于从dataview中删除行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 18:14