问题描述:
当在其他线程里面访问DataGridView控件的时候,设置了Control.Check 但是在访问DataGridView中的数据的时候,提示
Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException,并且该值是之前的旧值,并不是我更改后的值。
解决方法:
将是用DataGridView.Rows[x].Cells[x].Value 换成EditedFormattedValue