Inserting empty datarows into a Grid
<p>I am trying to create a gridview where User can insert rows. I am trying to have 10 empty rows in the grid with all the columns empty. Is it possible?</p>

<p>User just need to enter into textboxes, so i will have to save all the 10 rows into the database! This is using c# asp.net..</p>

<pre><code>&lt;asp:TemplateField ItemStyle-Width="50"&gt;
     &lt;ItemTemplate&gt;
         &lt;asp:TextBox ID="txtSpots" runat="server" Text='&lt;%#Eval("Spots")%&gt;' Width="45px"&gt;           &lt;/asp:TextBox&gt;                           
      &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  &lt;asp:TemplateField ItemStyle-Width="180"&gt;
      &lt;ItemTemplate&gt;
         &lt;asp:TextBox ID="txtCompanyName" runat="server" Text='&lt;%#Eval("CompanyName")%&gt;'&gt;&lt;/asp:TextBox&gt;
         &lt;/ItemTemplate&gt;
   &lt;/asp:TemplateField&gt;
</code></pre>
