×

Loading...
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!

Check this site and see if it's useful to you

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp?print=745
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / C# Window Application: How to set DataGrid row color
    In my C# windows application. I need to setup different row color base on different value. for example, if coloum1 value is 1, set this row is Red, if column1 value is 2, set this row is blue, etc. Any help would be appreciated.
    • Check this site and see if it's useful to you
      http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp?print=745
      • Thanks 糊涂阿福, it's only set color in one cell, I need to set color for whole row.
        • 单个cell都可以了,整行不就是个loop吗?
          • it's different. it likes an event in cell. you can not find other cells in same row. I am a new guy in C#. I have no more experience in DataGrid.
            • 服了你了,那只是一个例子,你可以用这种思路去实现你的要求。