I was wondering if there was a way to remove the invalid HTML code that the GridView is spitting out once it's created?
<table cellspacing="0" rules="all"
I'd like to remove the cellspacing and rules attribute.
Thank you!
Just found that putting
<asp:GridView CellSpacing="-1"
removes the unwanted and deprecated cellspacing attribute.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With