Hi,
i have a datagridview with datagridviewcombobox. How do i insert a event when user selects a value from the datagridviewcombobox? trying to bounddata for 2nd column of the datagridview based on what user selects from the datagridviewcombobox which is in the 1st column.
Iftikar HussainPosted Jul 28, 2013, 3:58 AM
Handle the EditingControlShowing event of DataGridView. In this event handler, check if the current column is of your interest.
this.dataGridView1.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dataGridView1_EditingControlShowing);
//populating the selected item value in a different cell
Regards,
Iftikar