c# - Fill combobox with english months -
I have to fill a Cambodia with English in the month: January, February, etc. I did it the next way:
Private string [] AmericanMoths {{var arr = Get new string [12]; Var American Culture = New Culture Info ("N-US"); (Int i = 0; i How do you feel, how is the better (reward)?
Does any name represent the integer number its name?
Culture Infofe already has a list of month names already in the framework. You can just type:
var American Agriculture = New CultureInfo ("N-US"); ComboMonth.Items.AddRange (americanCulture.DateTimeFormat.MonthNames.Take (12)); //
Comments
Post a Comment