string prevMont= DateTime.Now.AddMonths(-1).ToString();
DateTime now = DateTime.Now; DateTime lastMonth = now.AddMonths(-1); DateTime twoMonthsAgo = now.AddMonths(-2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)