I´m trying format a string field in Zip Code Format, but when a run the code in Visual Studio the applications hangs (not responding).
Without debug: Invalid argument
Code:
col.Field("Zip").HeaderText("ZIP").AllowFiltering(false).Width(60).EditType(EditingType.String).Format("{0:00000-000}").Add();
Thank you