问题描述:

  当在其他线程里面访问DataGridView控件的时候,设置了Control.Check  但是在访问DataGridView中的数据的时候,提示

Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException,并且该值是之前的旧值,并不是我更改后的值。

解决方法:

  将是用DataGridView.Rows[x].Cells[x].Value 换成EditedFormattedValue

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-12-14
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-09-28
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案