BindingContext[dataGridView1.DataSource].SuspendBinding();
dataGridView1.DataSource = null;
dataGridView1.DataSource = XXX索引 -1 没有值.;
BindingContext[dataGridView1.DataSource].ResumeBinding();

posted on 2014-07-01 15:22  刘宏玺  阅读(273)  评论(0编辑  收藏  举报