I am trying to paint a quantity column in data grid with color red, however when I do so cell alignment changes to left.
Seems like I have to convert e.value to string in order for this to work and when I do that the cell alignment changes.
Quantity column is of type decimal.
Also I would appreciate if you can guide on how i can fill the certain columns in data grid with certain color(for ex. yellow).
if (this.dtaGridView.Columns.Index ==e.ColumnIndex && e.RowIndex >=
View Complete Post