设置DataGridView行背景色

 dgvViewPigSliceInfo.Rows[i].DefaultCellStyle.BackColor = Color.Beige;
原文地址:https://www.cnblogs.com/kingwangzhen/p/1459370.html