hi, i want to change the appearance on only 1 of my datagridview, my goal is to change appearance on the color of the selected row only, and i tried to do it with a stylesheet and css, but without luck, below i describe how i used it, tell me if i’m wrong.
first i created a stylesheet and put in the style editor my code, with the correct sintax, in css, then i called it on my code with this code:
StyleSheet1.SetCssClass(DGV_M, “background-color”)
and that’s it, i only done as i described, but i tried even creating a css file and attaching it to the stylesheet, either no luck
See attached sample.
Please login first to submit.