private void updateButton_Click(object sender, EventArgs e) { //custID.Text = customers[id].ID.ToString(); customers[id].Name = custName.Text
You should use Double.TryParse() to convert your string to a Double.You cannot save a string on a Double Datatype and there is no implicit conversion available in c# to do that
Double.TryParse()
Double result; Double.TryParse(custBal.Text,out result);