protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { gpcr.EmployeeID = ThisSession.EmployeeID; gpcr.CCHID = ThisSession.CCHID; gpcr.GetData(); if (!gpcr.HasErrors) { if (gpcr.SaveTable.Rows.Count > 0) { abCouldSave.SaveTotal = gpcr.SaveTotal; } rptTheraSubData.DataSource = gpcr.DistinctTherasubMembers; rptTheraSubData.DataBind(); ThisSession.PastCareID = String.Empty; gpcr.ForEachTheraSubMemberPastCareID(delegate(String PastCareID) { ThisSession.PastCareID += PastCareID + "|"; }); ThisSession.PastCareID = ThisSession.PastCareID.TrimEnd('|'); } } }