This works for me
dataGridView1.Rows[rowIndex].Cells[columnIndex].Style.BackColor = Color.Red;
More Related Contents:
- System.Linq.Expression.Compile error
- How to format DateTime columns in DataGridView?
- Dynamically Add C# Properties at Runtime
- Is the use of dynamic considered a bad practice?
- Deserialize XML To Object using Dynamic
- right click context menu for datagridview
- how to create an animated gif in .net
- How can I refresh c# dataGridView after update ?
- DataGridView bound to a Dictionary
- Will the dynamic keyword in C#4 support extension methods?
- Why does a method invocation expression have type dynamic even when there is only one possible return type?
- Unable To set row visible false of a datagridview
- Using a list as a data source for DataGridView
- Working with C# Anonymous Types
- How to filter data using Entity Framework in a way that DataGridView be editable and context track changes?
- How to create a Button that can send keys to a conrol without losing focus – Virtual Keyboard
- Rows cannot be programmatically added to the datagridview’s row collection when the control is data-bound
- Button in a column, getting the row from which it came on the Click event handler
- How to set DataGridView textbox column to multi-line?
- Exporting datagridview to csv file
- Check/Uncheck a checkbox on datagridview
- Reading data from DataGridView in C#
- Open dropdown(in a datagrid view) items on a single click
- WinForms DataGridView – databind to an object with a list property (variable number of columns)
- Populating a DataGridView with Text and ProgressBars
- DataGridView bound to BindingList does not refresh when value changed
- C#: Custom sort of DataGridView
- How to move focus on next cell in a datagridview on Enter key press event
- DataGridView changing cell background color
- Sort dataGridView columns in C# ? (Windows Form)