Results 1 to 2 of 2

Thread: DataGridView Current Row Bold

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2009
    Posts
    58

    DataGridView Current Row Bold

    Dear Sir,

    How to make datagridview current row bold & green color?

    Please help

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: DataGridView Current Row Bold

    I haven't actually tried this but I would think that you would handle the RowStateChanged event of the grid, test the e.StateChanged property to see that its the Selected state that has changed, then set the appropriate row properties based on whether the row is selected or not.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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