Discord
Steam
/
Developers
/
C# Changing Ro..
Login/Join
Event Log
C# Changing Row Colours
3 replies, posted
Search
In This Thread
Hey guys, I want to know how do I change the colour of a row in a DataGridView?
Can't you iterate over the items in the View to set their background colour?
dataGridView1.Rows[0].DefaultCellStyle.BackColor = Color.HotPink;
Awesome thanks.
Sorry, you need to
Log In
to post a reply to this thread.