title: Compiler Error Message: CS0029: Cannot implicitly convert type 'int' to 'string'
body: <p>I need convert <strong>String</strong> of input of table database to <strong>Integer value</strong> in C# .NET 4 and tried this code inspired from this <a href="https://stackoverflow.com/questions/2344411/how-to-convert-string-to-integer-in-c-sharp">Link</a>:</p>
  
  <pre><code>    int i;
      string Entry_Level = Convert.ToInt32("2,45");
      i = Convert.ToInt32(Entry_Level); 
  </code></pre>
  
  <p>But I've this error:</p>
  
  <blockquote>
    <p>Compiler Error Message: CS0029: Cannot implicitly convert type 'int' to 'string'</p>
  </blockquote>
  
  <p><strong>EDIT</strong></p>
  
  <p>Solved with:</p>
  
  <pre><code>    decimal i;
      string Entry_Level = "2,45";
      i = Convert.ToDecimal(Entry_Level);
  
      Response.Write(i.ToString());
      Response.End();
  </code></pre>
  
  <p>In output I've 2,45, many thanks!</p>