如何去除边框样式属性时崩溃在GridView生成
当GridView使用VS2005下,GridView控件将添加边框的崩溃:崩溃在默认生成的HTML代码的样式属性。复制代码代码如下所示:
绑定数据运行后在页面中的代码是:
idname
十一
二十二
GridView控件自动添加:边界崩溃:崩溃;
为了摆脱这种自动添加代码,只是cellspacing = 1
idname
十一
二十二
加一点点:
网格线=无不显示单元格边框
cellspacing = 1 删除边界崩溃:在GridView式的崩溃;风格
Note: in the Firefox browsers, the border merge causes some of the border lines to be thickened, and the GridLines= None can be solved