Gridview getting value of a BoundField set to Visible=False
<p>How can i get the value of a field that is set to Visible=false? as follows:</p>

<pre><code> &lt;asp:BoundField DataField="ItemID" HeaderText="Line Item ID" Visible="false"/&gt; 
</code></pre>

<p>but when i try to get it with</p>

<pre><code> int temID = Convert.ToInt32(row.Cells[0].Text);
</code></pre>

<p>It cant find it and throws an exception, but if I make it Visible="true" it works.</p>

<p>How can I retrieve the value if visible = false?</p>
