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

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -