views:

39

answers:

1

I would like to format (cell background color for a whole row) a gridview in Compact Framework.

It would not be something like alternating row style, but it would depend on some data the datasource has. So it's like ex.: one row out of total 4 rows for the dt.

What is the simplest way?

Do i need to override Paint() ?

A: 

There's a pretty extensive example of customizing the CF DataGrid's formatting on Codeplex.

ctacke