コード例 #1
0
        protected void Bind_GridViewTherapist()
        {
            string term = TextboxSearch.Text.Trim().ToLower();
            List <Classes.Entity.Therapist> therapists = patientBLL.GetCurrentTherapists(term);

            ViewState["GridViewTherapist"] = therapists;
            GridViewTherapist.DataSource   = therapists;
            GridViewTherapist.DataBind();
            UpdatePanelAccounts.Update();
        }
コード例 #2
0
        protected void LinkButtonFineGrainAllow_Click(object sender, EventArgs e)
        {
            string termAllowed = TextboxSearchFineGrainAllow.Text.Trim().ToLower();
            List <Classes.Entity.Therapist> therapistsAllowed = patientBLL.GetCurrentTherapists(termAllowed);

            GridViewFineGrain.DataSource = therapistsAllowed;
            GridViewFineGrain.DataBind();

            UpdatePanelFineGrain.Update();
        }