Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 protected void GridViewTherapist_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewTherapist.PageIndex  = e.NewPageIndex;
     GridViewTherapist.DataSource = ViewState["GridViewPatient"];
     GridViewTherapist.DataBind();
 }