public static ClsCRM GetByCtlScriptID(int ID) { try { ClsCRM obj = new ClsCRM(); DataSet ds = new CRMDesigner.DataAccess.ClsCRMDataService().CRM_GetByID(ID); if (!obj.MapData(ds)) { obj = null; } return(obj); } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "GetByCtlScriptID()", "ClsCRMs.cs"); return(null); } }
public static ClsCRM GetByCtlScriptID(int ID) { try { ClsCRM obj = new ClsCRM(); DataSet ds = new CRMDesigner.DataAccess.ClsCRMDataService().CRM_GetByID(ID); if (!obj.MapData(ds)) obj = null; return obj; } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "GetByCtlScriptID()", "ClsCRMs.cs"); return null; } }