Results 1 to 2 of 2

Thread: setting datagrid backcolor

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    5

    setting datagrid backcolor

    Hi,
    in my windows application ,i have a datagrid with 3 columns ,like this:


    Name Surname Sex
    JULIA HILL F
    BRAD MOON M
    TOM PASCAL M
    ..
    ..



    and i want to set rows color of datagrid conditionally
    e.g

    if sex="M"
    rowcolor="blue"
    else
    rowcolor="red"
    Last edited by gamzeb; Jan 17th, 2005 at 09:08 AM.

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