I have a TextBox, GridView and Button such as "txtCount", "gvCount" and "btnCount".

The gvCount has the following columns

```
<Columns>
      <asp:TemplateField Visible="false">
      <ItemTemplate>
      <asp:Label ID="lblRTDetailID" runat="server" Text='<%# Bind("RTDetailID") %>'></asp:Label>
      </ItemTemplate>
      </asp:TemplateField>
      <asp:TemplateField HeaderText="Assy. No.">
      <ItemTemplate>
      <asp:TextBox ID="txtgvAssyNo" runat="server" Text='<%# Bind("AssyNo") %>'></asp:TextBox>
      </ItemTemplate>
      </asp:TemplateField>
      <asp:TemplateField HeaderText="Position">
      <ItemTemplate>
      <asp:DropDownList ID="ddlgvPos" runat="server" Text='<%# Bind("Position") %>'>
      </asp:DropDownList>
      </ItemTemplate>
      </asp:TemplateField>
</Columns>

```

If the TextBox "txtCount" has the text "10". While clicking the Button "btnCount", 10 rows would be added to the GridView. Likewise, I need to add rows to the GridView based on the TextBox value. How to do this?