am trying to get my values displayed in the form of currency.i have a code that am making use of which should convert string to decimal.am getting the error that it can not convert the string to decimal.the error is at the line of code where i have string.format.

```
string[] x = new string[dt.Rows.Count];

decimal[] y = new decimal[dt.Rows.Count];

for (int i = 0; i<dt.Rows.Count; i++)
{
    x[i] = dt.Rows[i][0].ToString();
    y[i] = string.Format("{0:##,##0.00}",Convert.ToInt32(dt.Rows[i][1]));
}

```