Why DataBinding doesn't work on second time around?

后端 未结 1 1548
孤街浪徒
孤街浪徒 2021-01-18 17:14

The error I got when I change the datasource of BindingSource

\"databinding cannot find a row that is suitable for all bindings row that is suitable for all bindings

1条回答
  •  伪装坚强ぢ
    2021-01-18 17:53

    I have seen this error when no DataGridView is involved, but my data source was being updated from another thread (naughty!) and my binding had FormattingEnabled=false. Changing both of these seemed to fix the problem.

    0 讨论(0)
提交回复
热议问题