C# DataGridView控件清空数据完美解决方法
摘要:
C# DataGridView控件绑定数据后清空数据在清除DataGridview的数据时:1.DataSource为NULL(DataGridView.DataSource= null;)这样会将DataGridView的列也删掉。 2.用DataGridview.Rows.Clear(); 提示 阅读全文
posted @ 2016-08-03 08:53 liuslayer 阅读(2063) 评论(0) 推荐(1)
浙公网安备 33010602011771号