或者这样
Dim cs As C1.Win.C1FlexGrid.CellStyle = CurrentTable.grid.Styles.Add("Test")cs.ForeColor = Color.Redcs.backcolor = Color.YellowTables("表A").grid.rows(2).style = cs