且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在数据表中查找和编辑行

更新时间:2023-02-26 15:28:04

我认为这可能会更快.

I think this might be faster.

licenceTable.DefaultView.RowFilter = "DriveKey = '" + selectedKey + "'"
For Each row In licenceTable.DefaultView
    row("Location") = selectedLocal
Next



只需记住在引用
之前将RowFilter设置为空即可. 再次使用默认视图.



Just remember to set the RowFilter to nothing before referencing the
default view again.

licenceTable.DefaultView.RowFilter = Nothing


我相信这已经是根据性能足够好.

祝你好运.如果您找到更好的产品,请与我们分享:)
I believe this one is already good enough as per performace.

Goodluck on you. Please share us if you find a better one :)