Below is sql code to convert Month Name to Number ex.
January to 1
January to 1
DATEPART(mm,CAST('MonthName'+ ' 1900' AS DATETIME))Real Time Web Services and Code Examples/Resolutions to Issues with ASP.NET, C#, .NET Framework, Visual Studio .NET, NopCommerce, SQL Server, DashCommerce, BlogEngine, GallaryserverPro,ASP.NET MVC, ENTITY Framework, ADO.NET
DATEPART(mm,CAST('MonthName'+ ' 1900' AS DATETIME))