By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,784 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

c#.net control ,datagridview

P: n/a
how to change the colur of datagridview control column and rows
Nov 20 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
sridhar kumar schrieb:
how to change the colur of datagridview control column and rows
each DataGridViewColumn does have a "DefaultCellStyle" which you can set
in advance. There also is RowTemplate which has a CellStyle, and
RowsDefaultCellStyle.

If you want to change colours at runtime, you could have a look at the
BeforeCellPaint event.
Nov 20 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.