I was wondering if there is a way to remove the invalid HTML that the GridView splashes out after it is created?
<table cellspacing="0" rules="all"
I want to remove the cellspacing and rules attribute.
Thanks!
you can remove the rules = "all" by changing the settings of the GridLines GridView property.
thanks
Just found that placement
<asp:GridView CellSpacing="-1"
removes the unwanted and obsolete cellpacing attribute.