Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
 private void button3_Click(object sender, EventArgs e)
 {
     DatasetSmartCityTableAdapters.ControllerTableAdapter myadp = new global::SmartCity.DatasetSmartCityTableAdapters.ControllerTableAdapter();
     myadp.Update(smartCity1);
 }