Set the DefaultCellStyle.BackColor property of the row.
Why is my data not saved to my database? | MSDN Data Walkthroughs VBForums Database Development FAQ My CodeBank Submissions: VB | C# My Blog: Data Among Multiple Forms (3 parts) Beginner Tutorials: VB | C# | SQL
Hey jm, I tried the following combinations but it is not working as expected... Code: DataGridView2.Rows(I).DefaultCellStyle.BackColor = Color.Crimson - The row will flash red then return to transparent Code: DataGridView2.CurrentRow.DefaultCellStyle.BackColor = Color.Crimson - Returns and error message... Object not referenced to instance
DataGridView2.Rows(I).DefaultCellStyle.BackColor = Color.Crimson
DataGridView2.CurrentRow.DefaultCellStyle.BackColor = Color.Crimson
Forum Rules