protected void Page_LoadComplete(object sender, EventArgs e) { Processes.Check_status(); try { ReportList = ClientReports.GenerateClientReport(Request.QueryString["Client"], Request.QueryString["Start"], Request.QueryString["End"]); foreach (var item in ReportList.ToList()) { ClientReports.Sum += TimeSpan.Parse(item.Fulltime); } } catch (Exception) { } rpTableClients.DataSource = ReportList; rpTableClients.DataBind(); ddlClient.DataSource = ClientList; ddlClient.DataTextField = "Title"; ddlClient.DataValueField = "IDClient"; ddlClient.DataBind(); }