Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. color of individual cell of DataGrid control

color of individual cell of DataGrid control

Scheduled Pinned Locked Moved C#
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saksp
    wrote on last edited by
    #1

    How to change the text color of individual cell of DataGrid control in C#

    thanks

    L R 2 Replies Last reply
    0
    • S saksp

      How to change the text color of individual cell of DataGrid control in C#

      thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      see sample: dataGridView1.Rows[0].Cells[0].Style.ForeColor = Color.White;

      S 1 Reply Last reply
      0
      • L Lost User

        see sample: dataGridView1.Rows[0].Cells[0].Style.ForeColor = Color.White;

        S Offline
        S Offline
        saksp
        wrote on last edited by
        #3

        I am using DataGrid class not DataGridView class.

        thanks

        M 1 Reply Last reply
        0
        • S saksp

          How to change the text color of individual cell of DataGrid control in C#

          thanks

          R Offline
          R Offline
          Ravi Mori
          wrote on last edited by
          #4

          Checkout on this : http://www.codeguru.com/forum/showthread.php?t=364896[^] Hope this will help you..

          1 Reply Last reply
          0
          • S saksp

            I am using DataGrid class not DataGridView class.

            thanks

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            Then ask the question in the ASP forum!

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups