.net - Change DataGridViewCell BG Color Upon Creation -


currently there column in grid changes background colors when grid sort event called. bg color changes depending upon integer value within cell. right loop , has go through each row , locate particular cell , check value. unless must execute bit of code each time rows sorted otherwise go default color. i'm looking way write code permanently set background color of these cells upon creation when grid first loaded doesn't have set each time column header clicked , data sorted.

solution datagridview.cellformating event handler.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -