Why is my bound DataGridView throwing an “Operation not valid because it results in a reentrant call to the SetCurrentCellAddressCore function” error?

前端 未结 7 2200
旧时难觅i
旧时难觅i 2020-12-01 15:37

When binding a DataGridView control to a binding source, I\'m getting the following error in my application:

Operation is not valid becau

7条回答
  •  [愿得一人]
    2020-12-01 16:22

    I found this exception happened because I had an empty DataGridView.CellValidated sub in my code. Once I deleted that empty sub the error went away.

提交回复
热议问题