public void LoadUsers() { ComboFunctions.FillUsers(ddlUsers); dtpFromDate.Value = DateTime.Now.GetStartOfCurrentWeek(); dtpTillDate.Value = DateTime.Now.ToDate(); }
public void LoadUsers() { ComboFunctions.FillUsers(ddlUsers); dtpFromDate.Value = DateTime.Now.GetStartOfCurrentWeek().ToDateTimeorNull(); dtpTillDate.Value = DateTime.Now.ToDate() + TimeSpan.Parse("23:59:59"); }