System.FormatException occurs when attempting to convert a numeric string to a numeric data type,
System.FormatException with the following error:
1,System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal);
2,System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info);
3,System.Convert.ToInt32(String value);
System.FormatException occurs when attempting to convert a numeric string to a numeric data type,
System.FormatException with the following error:
1,System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal);
2,System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info);
3,System.Convert.ToInt32(String value);
Show us your codes and point out where the exception is thrown out……