I have a table from database where values in cells are string type: 1.4141, 2.012, 11.33, And Im trying to parse them to double,but it throws FormatException (saying something like wrong entry format).There is a part of the code:
double a;
foreach (DataRow row in ds.Tables[0].Rows)
{
a = Double.Parse(row[1].ToString());//here it throws the
exception
}