I am changing the row color like this...
Expand|Select|Wrap|Line Numbers
- for (i = 0; i < gvTransactionalDetails.Rows.Count; i++)
- {
- if (gvTransactionalDetails.Rows[i].Cells[2].Text.StartsWith("Rej") == true)
- {
- gvTransactionalDetails.Rows[i].BackColor = System.Drawing.Color.PaleVioletRed;
- }
- }
Can u give me the code?