Ejemplo n.º 1
0
        protected void CounselingsGrid_PageIndexChanging(Object sender, GridViewPageEventArgs e)
        {
            CounselingsGrid.PageIndex = e.NewPageIndex;
            DataTable counselings = AdminEmail.GetCounselings();

            CounselingsGrid.DataSource = counselings;
            CounselingsGrid.DataBind();
        }
Ejemplo n.º 2
0
 private void BindCounselings()
 {
     try
     {
         DataTable counselings = AdminEmail.GetCounselings();
         CounselingsGrid.DataSource = counselings;
         CounselingsGrid.DataBind();
         //logger.Debug("contents - " + contents.Rows.Count);
     }
     catch (Exception ex)
     {
         logger.Error("BindContents Exception - " + ex.Message);
     }
 }