Dim dtfi As New DateTimeFormatInfo() For month As Integer = 1 To 12 Dim li As New ListItem() li.Text = dtfi.GetMonthName(month) & " (" & month.ToString() & ")" li.Value = month.ToString() dobm.Items.Add(li) Next
Danish
array
strings
string[] monthNames = System.Globalization.CultureInfo.GetCultureInfo("da-DK").DateTimeFormat.MonthNames; //monthNames content //januar //februar //marts //april //maj //juni //juli //august //september //oktober //november //december
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)