I have gridlines set to true on a gridview, i want the lines to be grey. By default, the lines in IE appear grey, due to my stylesheets; but in Firefox, there is a dark line separating the header columns.
我试图增加
this.GridView1.Attributes.Add("bordercolor", "#ddd");
这解决了PeFox问题,但在IE,它显示了黑暗线。