When binding a DataGridView
control to a binding source, I'm getting the following error in my application:
Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function
The binding source depends on the data table. And I'm filtering the records from the DataGridView. And I used the dataGridView1_CellValueChanged()
event where I'm filtering the DataGridView. But when I was deleting the data from the current cell, this error occurs.
How can I resolve this problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…