Hello Friends
I have been working on webpart in which I was using SPGridView. Now I want to apply fore-color to one column inside the SPGridView. When I tried with everything and none of them was working , every time it gets color from CSS file then I tried below line it works like magic!!!
oGridColCourse.ItemStyle.CssClass = "color: #0000F5 !important;";
Happy Coding!!!
Disha Shah
No comments:
Post a Comment