I am trying to format a textbox when someone leaves to put it in a currency format.
I am getting this error:
cannot convert from 'string' to 'System.IFormatProvider'
public string FormatMoney(string StringToFormat)
{
return StringToFormat.ToString("{
0:C}");
}
Start Free Trial