Gridview with C# adding rows
<p>I want to add a row to my gridview. i succeeded in adding text boxes, but i cannot extract the value 
It keeps telling me that object reference not set to an instance of an object. At this line it halts</p>

<pre><code>string acc = Convert.ToString(((TextBox)GridView1.FooterRow.FindControl("accountID")).Text);
</code></pre>

<p>Please what  am i doing wrong</p>
