Gridview: Cant remove borders

drillwifey

New Member
I have a gridview inside a GridView cell as you can see on the image. I am trying to remove the 2 horizontal lines that are i believe are borders below the word has and beyond the word next.
GvKIX.png
\[code\] foreach (TableCell tc in e.Row.Cells) { tc.Attributes["style"] = "border-bottom-style:none"; tc.Attributes["style"] = "border-width:0px"; tc.Attributes["style"] = "border-top-style:none"; }\[/code\]But it doesnt works. Any Help?
 
Back
Top