添加事件DataBindingComplete,在dataGridView1_DataBindingComplete对DataGridView进行渲染(处理绑定数据源后颜色的修改)
this.dataGridView1.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dataGridView1_DataBindingComplete);