DevExpress.XtraGrid.StyleFormatCondition cn;
cn = new DevExpress.XtraGrid.StyleFormatCondition(DevExpress.XtraGrid.FormatConditionEnum.Equal, gridView1.Columns["列名"], null, 值, 值, true);
cn.Appearance.BackColor = Color.Gray;
gridView1.FormatConditions.Add(cn);