Alternate Style Changes Button Column back color in DATAGRID

mania

New member
Joined
Jul 24, 2009
Messages
1
Programming Experience
Beginner
Guys,
I have a Datagrid in vb.net in which I am using button type column along with other columns. This button column is for Delete. I have specified Alternate Row Style as LightGray color. And I have specified Buttons backcolor as Default Control. All works fine . But the problem is that at runtime alternate style is applied on button so buttons backcolor changes to LightGray. Its with every alterante column.
How do I prevent this ?
Any help is appreciated..
Thanks in advance
 
Back
Top