CookieSubprodContext.DeleteObject(currentProductCategory) intRowsAffected = CookieSubprodContext.SaveChanges() ProductCategoryList.Remove(currentProductCategory) currentProductCategoryIndex = ProductCategoryList.Count - 1 PopulateFields() MsgBox("Record deleted")
CookieSubprodContext.Detach(currentProductCategory) ProductCategoryList.Remove(currentProductCategory) currentProductCategoryIndex = ProductCategoryList.Count - 1 PopulateFields()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)