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,每个单元格都有组合框下拉菜单。当 cell[0,0] 中的值发生变化时,我想更新 cell[0,1] 的数据源。 我为数据网格视图上的“选择更改事件”创建了一个事件处理程序。当 selection changed 事件发生时,它会触发该事件,并且发送者是 DataGridViewComboBoxEditingControl 类型。
我如何知道哪一列触发了选择更改事件?
本演练显示了您的方案的示例。
http://asimsajjad.blogspot.in/2009/09/raising-dropdownlist.html