CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    1

    Cool Changing Backcolor in a Data Grid

    I am trying to change the forecolor of selected rows in a data grid. Can someone tell me how do I do it?

  2. #2
    Join Date
    Apr 2003
    Location
    India
    Posts
    3

    Change Color

    Hello,

    You can try this. Assign the values to these two properties of the DataGrid.

    SelectionBackColor() and SelectionForeColor()

    You can assign the values at the design time or run time.

    Regards,

    Vilas Shewale

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

Featured