public void UpdateItem(CustomerData item)
 {
     //save item
     EditRowId = -1;
     CustomersDataSet.EditRowId = -1;
     EditMode = !EditMode;
 }
 public void EditItem(CustomerData item)
 {
     EditRowId = item.CustomerId;
     CustomersDataSet.EditRowId = item.CustomerId;
     EditMode = !EditMode;
 }