List Month Names in drop down or combo

Referred URL - http://stackoverflow.com/questions/315301/how-do-i-list-month-names-e-g-for-a-combo

for( int i = 1; i <= 12; i++ ){
  combo.Items.Add(CultureInfo.CurrentCulture.DateTimeFormat.MonthNames[i]);
}

You May Also Like

0 comments