BindingContext[dataGridView1.DataSource].SuspendBinding();
dataGridView1.DataSource = null;
dataGridView1.DataSource = XXX索引 -1 没有值.;
BindingContext[dataGridView1.DataSource].ResumeBinding();
原文:http://www.cnblogs.com/liuhongxi/p/3818431.html