Converting string to decimal
Am having problem in my code when converting string to decimal..am getting the error "for (int i = 0; i
Am using the below code:
{
x[i] = dt.Rows[i][0].ToString();
y[i] = string.Format("{0:c}",Convert.ToInt32(dt.Rows[i][1]);
}
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nikhil SanganiRank #2,102 · 681 reputationPosted Dec 17, 2017, 6:55 PM EST
john kanyoraRank #6,677 · 259 reputationPosted Dec 17, 2017, 8:35 PM EST