DateTime myDateTime = DateTime.ParseExact( input, "MMMM yyyy" );
string.Format("{0:MM-yyyy}", YourDate.Text)
SQL Server Date Formats
<![CDATA[<%= String.Format("{specifier}", DateTime.Now) %>]]> Specifier Description Output Y Month / Year April 2007
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)