Help..
I am using the String.format() method and getting the following error...
An unhandled exception of type System.FormatException occurred in mscorlib.dll
Additional information: Input string was not in a correct format.
Here is the line of the code causing it...
strResult = String.Format("{^\d-\d{3}-\d{3}-\d{4}}", hpformato)
The "hpformato" is Dimmed as String. I dont know why this is not working..Help
Chicago75@evildata.com
I am using the String.format() method and getting the following error...
An unhandled exception of type System.FormatException occurred in mscorlib.dll
Additional information: Input string was not in a correct format.
Here is the line of the code causing it...
strResult = String.Format("{^\d-\d{3}-\d{3}-\d{4}}", hpformato)
The "hpformato" is Dimmed as String. I dont know why this is not working..Help
Chicago75@evildata.com