1.1. datagrid in 2.0 .Net environment
My ISP recently migrated all 1.1 accounts to 2.0. All the 1.1 code seems to work fine. One bizarre thing was that the gridlines in all of my datagrids turned to white, which makes them invisible against a white background.
I found a couple posts that said if you made bgcolor=white, you would then be able to see the gridlines. I tried that and it did work, but obviously not a viable solution.
Turns out to be very simple. You need to set the bordercolor attribute of the datagrid in code:
dgrCalendar.Attributes.Add("bordercolor", "Black")
Trackback URI |