Results 1 to 3 of 3

Thread: [RESOLVED] DataGridView - setting the colour of a row?

Threaded View

  1. #1

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Resolved [RESOLVED] DataGridView - setting the colour of a row?

    I have a dgv where every alternating row is a different colour to make it more readable, as you can see in my attachment.

    I now want to recolour certain rows to another colour. Lets for example say all rows where column(7).value < 5 should be red or whatever.

    I coloured 2 rows in the example to show you what i want.

    Is this possible?
    if yes, how?
    Name:  dgv.jpg
Views: 1354
Size:  7.9 KB
    Last edited by tgf-47; Jun 30th, 2010 at 09:49 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width