To Save into config file
Code:
               string strJob = textBox4.Text+".Name";
                string strValue = textBox4.Text+","+textBox9.Text;
                System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
                try
                {
                    config.AppSettings.Settings.Add(strJob, strValue);
                }
                catch
                {
                    MessageBox.Show("can not Add " + strJob + "=" + strValue);
                }

                config.Save(ConfigurationSaveMode.Modified);

and to view what i have
Code:
            string strTotal=null;
            foreach (string key in ConfigurationManager.AppSettings)
            {
                string value = "NConfigurationManager.AppSettings[key];
                strTotal += value + "\r\n";
            }

            MessageBox.Show(strTotal);
When does the saving actually takes place? as I dont see what has been added has been saved?