Save dataset value as an integer
<p>I have a dataset that has just one column and one row. It gives me an integer. I have to save it in an other integer. I am a learner. please help me out! Thanks!</p>

<pre><code>Dataset pds;

if (pds.Tables[0].Rows.Count &gt; 0)
{
      int Islocationcount =  pds.Tables[0].Columns[0].ColumnName[1];
}
</code></pre>
