Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在更改该 datagridview 列中的组合框值时重新加载 datagridview。我知道如何重新加载,但我无法触发动作。我应该在这个特定的单元格中寻找值变化还是组合框动作有变化?
对组合框更改事件执行 DataGridView1.Refresh()。
我通常使用 ComboBox_TextChanged 事件,您也可以在添加它们时在 datagridview 中使用它们:
comboBox1.TextChanged += delegate(object sender, EventArgs e) { // 随便 }