5
Reply

How to change datagrid row color and bold font

Rajkumar R

Rajkumar R

10 years ago
2.4k
Hi,

I have a datagrid control, In that there was few rows like below
Date
Scanned AScanned BScanned C
12/12/2013121314
Subtotal121314
07/08/2014121315
07/08/2014121315
Subtotal242630
Total363944

Here I need to highlight the sub total row. Font style = Bold and background color to differentiate from other rows.
Can we achieve this using DataGrid1_ItemDataBound event. If yes please post solution using DataGrid1_ItemDataBound event.

Thanks in Advance

Answers (5)