public void UpdateItem(CustomerDataGuid item)
        {
            //save item
            EditRowId = Guid.NewGuid();
            CustomersDataSet.RowEditOptions.EditRowId = EditRowId;
            var updateItem = CustomersDataSet.Items.FirstOrDefault(s => s.CustomerId == item.CustomerId);

            updateItem = item;
            EditMode   = !EditMode;
        }
 public void EditItem(CustomerDataGuid item)
 {
     EditRowId = item.CustomerId;
     CustomersDataSet.RowEditOptions.EditRowId = item.CustomerId;
     EditMode = !EditMode;
 }