//var firstDayOfQuarter = new DateTime(dtp_FromDate.Value.Year, dtp_ToDate.Value.Month, 1); //var lastDayOfQuarter = firstDayOfQuarter.AddMonths(3); //var firstDayOfQuarter = new DateTime(dtp_FromDate.Value.Year, dtp_ToDate.Value.Month + 2, 1); //var lastDayOfQuarter = firstDayOfQuarter.AddMonths(3); //var firstDayOfQuarter = new DateTime(dtp_FromDate.Value.Year, dtp_ToDate.Value.Month + 4, 1); //var lastDayOfQuarter = firstDayOfQuarter.AddMonths(3); //var firstDayOfQuarter = new DateTime(dtp_FromDate.Value.Year, dtp_ToDate.Value.Month + 6, 1); //var lastDayOfQuarter = firstDayOfQuarter.AddMonths(3);