Beispiel #1
0
        protected void Bind_GridViewMedicalNote()
        {
            string      term  = TextboxSearch.Text.Trim().ToLower();
            List <Note> notes = therapistBLL.GetNotes(term);

            ViewState["GridViewMedicalNote"] = notes;
            GridViewMedicalNote.DataSource   = notes;
            GridViewMedicalNote.DataBind();
            UpdatePanelMedicalNote.Update();
        }
Beispiel #2
0
 protected void GridViewMedicalNote_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewMedicalNote.PageIndex  = e.NewPageIndex;
     GridViewMedicalNote.DataSource = ViewState["GridViewMedicalNote"];
     GridViewMedicalNote.DataBind();
 }