コード例 #1
0
 protected void rg_AssessmentType_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
 {
     try
     {
         _obj_Rec_Assessments                 = new RECRUITMENT_ASSESSMENTS();
         _obj_Rec_Assessments.MODE            = 3;
         _obj_Rec_Assessments.ORGANISATION_ID = Convert.ToInt32(Session["ORG_ID"]);
         DataTable dt = Recruitment_BLL.get_Assessments(_obj_Rec_Assessments);
         rg_AssessmentType.DataSource = dt;
     }
     catch (Exception ex)
     {
         SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_AssessmentType", ex.StackTrace, DateTime.Now);
         Response.Redirect("~/Frm_ErrorPage.aspx");
         return;
     }
 }