C# object and string conversion
<p>I have following section of code in my program:</p>

<pre><code> object val;
 val = arr[1].Trim(); // in my case i am getting value here is 1.00
</code></pre>

<p>now when I am assigning value to a datarow I am getting error </p>

<blockquote>
  <p>Expected int64 value.</p>
</blockquote>

<pre><code>datarow[Convert.ToString(drow["col"]).Trim().ToUpper()] = val;
</code></pre>

<p>I am not facing any issue when getting value other that 1.00.</p>

<p>What could be the exact problem? How can I solve it?</p>

<p>Suggestions and solutions are welcome</p>
