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. highlighting the row of the access database

highlighting the row of the access database

Scheduled Pinned Locked Moved C#
questioncsharpdatabase
3 Posts 3 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
    swtlibra
    wrote on last edited by
    #1

    my question is that is there any method in C# by which we can highlight the row of access database after certain action ?? if not then either we can highlight the row in datagrid ?? plzzzzz reply soon

    R L 2 Replies Last reply
    0
    • S swtlibra

      my question is that is there any method in C# by which we can highlight the row of access database after certain action ?? if not then either we can highlight the row in datagrid ?? plzzzzz reply soon

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      Look for a background color property associated with the row in your datagrid. I haven't used it yet, but most objects include that property. If it's there, you can change it in your app.

      Will Rogers never met me.

      1 Reply Last reply
      0
      • S swtlibra

        my question is that is there any method in C# by which we can highlight the row of access database after certain action ?? if not then either we can highlight the row in datagrid ?? plzzzzz reply soon

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        there are several ways to control the formatting of a cell, a row, a column, in a DataGridView. Look for DefaultCellStyle in each of those, and/or use the DataGridView.CellFormatting event. Warning: background coloring may malfunction on empty cells; you might read my CP Vanity[^] article. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

        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