I want to access the each cell of the datatable. How?
<p>Using CSharp, I want to access the each cell of the datatable. How can I do that? </p>

<pre><code>for (int i = 0; i &lt;= 5; i++)
    {
        if (myQuantity[i]!=null &amp;&amp; myQuantity[i].Length&gt;0)
        {
            row = dt.NewRow();
            row["Name"] = myName[i];
            row["Quantity"] = myQuantity[i];
            row["Price"] = myPrice[i];

            c = Convert.ToInt32(myQuantity[i]);

            int price = Convert.ToInt32(myPrice[i]) * c;


            row["Amount"] = price;

            dt.Rows.Add(row);

        }
    }
</code></pre>
