/// <summary> /// Method is used to load attachment list of particular vetting /// </summary> public void LoadAttachment() { try { DataTable dt = objBLLIndx.VET_Get_VettingAttachment(Convert.ToInt32(Vetting_ID)); DataView dvImage = dt.DefaultView; gvAttachment.DataSource = dt.DefaultView; gvAttachment.DataBind(); } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); string js = "alert('" + UDFLib.GetException("SystemError/ GeneralMessage") + "');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "error", js, true); } }