The problem with the format of the number in the cells, when I try to subtract the column data from datagridview and update the table in the database, I get an error to cast varchar to numeric. I understood that the problem is in the number delimiters, now it is "when it is standing." all OK. The data is transferred to the datagrid from the database, it is stored in the database with a period, but for some reason it is obtained in the datagrid with a comma. What to do?
So far, I have made such a crutch, I hope someone will tell the decision rules.
private String separator(String someString) { return someString.Replace(',', '.'); }