c#.net control ,datagridview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sridhar kumar

    c#.net control ,datagridview

    how to change the colur of datagridview control column and rows
  • Matthias Krug

    #2
    Re: c#.net control ,datagridview

    sridhar kumar schrieb:
    how to change the colur of datagridview control column and rows
    each DataGridViewCol umn does have a "DefaultCellSty le" which you can set
    in advance. There also is RowTemplate which has a CellStyle, and
    RowsDefaultCell Style.

    If you want to change colours at runtime, you could have a look at the
    BeforeCellPaint event.

    Comment

    Working...