public void SetUpdate(string id) { //MessageBox.Show(id); Update = true; Customer c = m.GetCustomer(id); txtName.Text = c.Name; txtAddress1.Text = c.Address1; txtAddress2.Text = c.Address2; txtCity.Text = c.City; txtCountry.Text = c.Country; txtPostalAddress.Text = c.PostalAddress; txtPhoneNumber.Text = c.PhoneNumber; UpdateID = c.ID; btnAdd.Text = "Update"; Text = "Update Customer"; }