An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll Additional information: The input line was not in the correct format.
|0.35|1.58|0.82|1.78|0.85|1.55|1|0|0|}
string linex= ""; string[] correction= null; for (int i=0;i<= rowcount-1;i++) { for (int j=0;j<= colmcount-1;j++) { linex= linex.ToString()+" " + dataGridView1.Rows[i].Cells[j].Value.ToString(); } correction= linex.Split(','); rowdataexample[i] = new double[columncnt]; for (int k = 0; k <= colmcount-1; k++) { rowdataexample[i][k] = double.Parse(correction[k]); } correction= null; linex= ""; }
linex= linex.ToString()+"," + dataGridView1.Rows[i].Cells[j].Value.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)