예제 #1
0
        protected void Bind_GridViewTherapistSendNote()
        {
            string term = TextBoxSearchTherapist.Text.Trim().ToLower();
            List <Classes.Entity.Therapist> therapists = therapistBLL.GetTherapists(term);

            ViewState["GridViewTherapistSendNote"] = therapists;
            GridViewTherapistSendNote.DataSource   = therapists;
            GridViewTherapistSendNote.DataBind();
            UpdatePanelSendNote.Update();
        }
예제 #2
0
 protected void GridViewTherapistSendNote_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewTherapistSendNote.PageIndex  = e.NewPageIndex;
     GridViewTherapistSendNote.DataSource = ViewState["GridViewTherapistSendNote"];
     GridViewTherapistSendNote.DataBind();
 }