//绑定代码
DataTable dataSource = GetDataTable();
m_DataGridView.DataSource = dataSource;
//数据源列表绑定事件
private void dataGridView_DataBindingComplete
(object sender, DataGridViewBindingCompleteEventArgs e)
{
MessageBox.Show(e.ListChangedType.ToString());
//这里会重复触发3次,请问怎么样才能避免重复触发改事件
}
调试