c# - Persian Calendar Problem with CultureInfo -
What's wrong with this code?
// Error (exception) Message: Valid Calendar System for an Unrecognized Culture. Globalization. CulverInfo CI = New System Globalization. Crop ("FA-IR"); Ci.DateTimeFormat.Calendar = New system. Globalization.PersianCalendar (); Application.CurrentCulture = ci; And what's the solution? Can I add a calendar type to the Windows XP regional option? :)
A filthy reflection-based solution is here:
Comments
Post a Comment