BindingSource bindingSource = new BindingSource(dataSet, tableName); this.dataGridView1.DataSource = bindingSource; this.textBox1.DataBindings.Add("Text", bindingSource, fieldName); this.numericUpDown1.DataBindings.Add("Value", bindingSource, fieldName);
BindingSource 讓元件彼此之間資料同步
週五, 2012-04-27 18:19
#1
BindingSource 讓元件彼此之間資料同步