private void GetLeadsCountBySource(string Source) { DataSet dsLeadCountBySource = dashboardBL.GetLeadsCountBySource(Source); todaySource.InnerText = dsLeadCountBySource.Tables[0].Rows[0]["TotalLeads"].ToString(); thisweekSource.InnerText = dsLeadCountBySource.Tables[1].Rows[0]["TotalLeads"].ToString(); thismonthSource.InnerText = dsLeadCountBySource.Tables[2].Rows[0]["TotalLeads"].ToString(); }