How to be able to use ToInt method in C#?
<p>I have this piece of code </p>

<pre><code>Int32 clientiid = row["CodCliente "].ToInt();
</code></pre>

<p>but this is marked up as an error telling and you missing an directive or a reference 
What should I add to make ToInt work? 
I have used this references. Thank you in advance</p>

<pre><code>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using MySql.Data.MySqlClient;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using System.Configuration;


Int32 clientiid = row["CodCliente "].ToInt();
</code></pre>
