/// <summary>
 /// Method is used to get observation related worklist jobs of particular vetting and observation.
 /// </summary>
 public void VET_Get_ObsRelatedJobs()
 {
     try
     {
         BLL_VET_Index objBLLIndx = new BLL_VET_Index();
         DataSet       ds         = new DataSet();
         ds = objBLLIndx.VET_Get_ObsRelatedJobs(UDFLib.ConvertToInteger(ViewState["Vetting_ID"].ToString()), UDFLib.ConvertToInteger(ViewState["Observation_ID"].ToString()));
         if (ds != null)
         {
             gvRelatedJob.DataSource = ds.Tables[0];
             gvRelatedJob.DataBind();
         }
     }
     catch (Exception ex)
     {
         UDFLib.WriteExceptionLog(ex);
         string js = "alert('" + UDFLib.GetException("SystemError/ GeneralMessage") + "');";
         ScriptManager.RegisterStartupScript(this, this.GetType(), "error", js, true);
     }
 }