title: Asp.net GridView ignore the CellSpacing attribute
body: <p>I am having some difficulties with a GridView here, a client asked me to put some space between the cells, typically I would do CellSpacing="5" however it seems it is not working, I tried a few stuff and everything is rewritten...</p>
  
  <p>Code I tried :</p>
  
  <pre><code>&lt;asp:GridView ID="gvShoppingCart" runat="server" CellSpacing="5" Width="100%" AutoGenerateColumns="false"&gt;
  
  &lt;some-formating-columns-here /&gt;
  
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>What is actually rendered is :</p>
  
  <pre><code>&lt;table cellpadding="0" cellspacing="0" summary=""&gt;
      &lt;thead&gt;
          &lt;tr class="AspNet-GridView-Header"&gt;
              &lt;th scope="col"&gt;Produit&lt;/th&gt;
              &lt;th scope="col"&gt; &lt;/th&gt;
              &lt;th class="Center" scope="col"&gt;Quantité&lt;/th&gt;
              &lt;th class="Right" scope="col"&gt;  Prix Unitaire  &lt;/th&gt;
              &lt;th class="Right" scope="col"&gt;Prix&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  &lt;body-columns-here /&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I have no idea of what to add now...</p>
  
  <p>Any suggestions ?</p>