Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            DatasetSmartCityTableAdapters.ControllerTableAdapter myadp = new global::SmartCity.DatasetSmartCityTableAdapters.ControllerTableAdapter();
            myadp.Update(smartCity1);

            repositoryItemComboBox4.Items.Clear();
            foreach (DatasetSmartCity.ControllerRow item in smartCity1.Controller.Rows)
            {
                repositoryItemComboBox4.Items.Add(item.ControllerName);
            }
        }
 private void button3_Click(object sender, EventArgs e)
 {
     DatasetSmartCityTableAdapters.ControllerTableAdapter myadp = new global::SmartCity.DatasetSmartCityTableAdapters.ControllerTableAdapter();
     myadp.Update(smartCity1);
 }