protected void RgvEmailTemplate_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
 {
     try
     {
         RgvEmailTemplate.DataSource = (DataTable)Session["dtEmailTemplates"];
         RgvEmailTemplate.DataBind();
     }
     catch (Exception ex)
     { }
 }
 private void EmailTemplateBind()
 {
     try
     {
         DataTable dtEmailTemplates = new DataTable();
         dtEmailTemplates            = DataAccessManager.GetTemplateList(Convert.ToString(Session["CampusID"]));
         Session["dtEmailTemplates"] = dtEmailTemplates;
         RgvEmailTemplate.DataSource = (DataTable)Session["dtEmailTemplates"];
         RgvEmailTemplate.DataBind();
     }
     catch (Exception ex)
     {
     }
 }