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