public static bool RemoveProduct(int ProductID) { bool deleted = false; try { using (LTS.LTSBase access = new LTS.LTSDC()) { access.DeleteProduct(ProductID); deleted = true; } } catch (Exception ex) { } return(deleted); }