你好:
可以把你的代码贴出来看看吗?
我使用下面的简单代码更换数据源,测试了很多次之后都可以正常更换并显示新数据源,有可能是你新的数据源和老的数据源的数据其实是一样的,所以即使在UI上重绘了也看不出来。
this.dataGridView1.DataSource = null;
this.dataGridView1.DataSource = newDataSource;
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.