How to add rows to a Grid View having columns in c# 2.0?
<p>I am pretty much sure that this question have been asked and answered several times before. But I am asking it again for an alternate answer. Here is my GridView </p>

<pre><code>&lt;asp:GridView ID="dgvGeneralBillList" runat="server" style="font-size:11px;margin:10px auto auto 30px;width:500px;" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" OnSelectedIndexChanged="dgvGeneralBillList_SelectedIndexChanged"&gt;
            &lt;RowStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt;
            &lt;Columns&gt;
                &lt;asp:BoundField DataField="BillID" HeaderText="Bill ID" Visible="False" /&gt;
                &lt;asp:BoundField DataField="SerialNo" HeaderText="Bill No" /&gt;
                &lt;asp:BoundField DataField="BilledWeekNo" HeaderText="Billed Week" /&gt;
                &lt;asp:BoundField DataField="BilledWeekDate" HeaderText="Billed Date" /&gt;
                &lt;asp:BoundField DataField="Amount" HeaderText="Amount" /&gt;
                &lt;asp:BoundField DataField="BillStatus" HeaderText="Bill Status" /&gt;
                &lt;asp:CommandField SelectText="Print" ShowSelectButton="True" /&gt;
            &lt;/Columns&gt;
            &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
            &lt;PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /&gt;
            &lt;SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt;
            &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
            &lt;EditRowStyle BackColor="#999999" /&gt;
            &lt;AlternatingRowStyle BackColor="White" ForeColor="#284775" /&gt;
        &lt;/asp:GridView&gt; 
</code></pre>

<p>Now I want to add rows to this gridview in runtime. In other articles, they suggest to define a <code>DataTable</code>, then <code>ADD my desired COLUMNS</code> to that table, then <code>ADD rows in that TABLE</code> and finally <code>BIND the table to the GridView</code>. Yes, This solves the problem and I can also do that. But what I want to do is, as I already have columns added into my gridview, I just want to add rows in it. <strong>and NOT Define a DataTable and then Bind it to GridView stuff</strong>. I tried below, </p>

<pre><code>oOutputBill = (clsBill[])oOutput;
            if (oOutputBill.Length &gt; 0)
            {
                for (int i = 0; i &lt; oOutputBill.Length; i++)
                {
                    GridViewRow oRow = new GridViewRow();
                    oRow.Cells[0].Text = Convert.ToString(oOutputBill[i].BillID);
                    oRow.Cells[1].Text = Convert.ToString(oOutputBill[i].SerialNo);
                    oRow.Cells[2].Text = Convert.ToString(oOutputBill[i].BilledWeekNo);
                    oRow.Cells[3].Text = Convert.ToString(oOutputBill[i].BilledWeekDate);
                    oRow.Cells[4].Text = Convert.ToString(oOutputBill[i].Amount);
                    oRow.Cells[5].Text = Convert.ToString(oOutputBill[i].BillStatus);
                }
            }
</code></pre>

<p>and as expected, it gives the error "No Overload of Method GridViewRow takes 0 arguments". How can I achieve this? Thanks in advance.</p>
