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