Convert string to title case. Capitalize the first letters of all words.
Sample code:
//include this
using System.Globalization;
//how to convert from uppercase string to titlecase
string title = "THE TITLE STRING";
TextInfo ti = CultureInfo.CurrentCulture.TextInfo;
title = ti.ToTitleCase(title.ToLower());
//result : "The Title String"
Using DateTimePicker to select month and year only.
//to configure datetimepicker for month and year.
dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = "MMM-yyyy";
dateTimePicker1.ShowUpDown = true;
//to get value of the datetimepicker.
dateTimePicker1.Value.ToString("yyyy-MM");