FormView FindControl not able to convert ToInt32
<p>I have a class Cust_Result that accepts an integer parameter.</p>

<p>So on my main page when it loads I bind a formview to display the data that I retrieved. Now I would like to extract the value of my "id" label and assign it to a variable which I can than pass to my Cust_Result class but I keep receiving this error</p>

<blockquote>
  <p>"Unable to cast object of type 'System.Web.UI.WebControls.Label' to
  type 'System.IConvertible'."</p>
</blockquote>

<p>I am assuming it is because I am trying to send a string value to a parameter that is wanting an integer value but I am unsure on how to do the conversion.</p>

<p>My code</p>

<pre><code> int cust;

       cust = (Convert.ToInt32(FormView1.Row.FindControl("ID")));
</code></pre>
