private DataSet GetData() { DateTime start = dteStartDate.SelectedDate.Value; start = start.Subtract(start.TimeOfDay); DateTime end = dteEndDate.SelectedDate.Value; end = end.Subtract(end.TimeOfDay); end = end.Add(new TimeSpan(23, 59, 59)); Facade.IReferenceData facReferenceData = new Facade.ReferenceData(); return(facReferenceData.GetUnvoicedValueForDateRange(start, end)); }