Link to home
Start Free TrialLog in
Avatar of dizzycat
dizzycat

asked on

How to fire the selected index changed event when combobox exists in a datagridview?

Hi experts
Using vb2008 express I have a datagridview with 3 colums, one is a comboboxcolumn and the other 2 are textbox columns, they are called cboAmount, txtPrice and txtTotalPrice, what i want to happen is when a number is selected in the combo-box it will be multiplied by the price and display the total price, if these controls were not in a datagridview I would simply use the selectedIndexChanged event of the combobox to do these calculations but what event can i use to do this when the combo-box exists in a datagridview?

Hope somebody can help.
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

How have you added the combobox to the datagridview?
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dizzycat
dizzycat

ASKER

Thanks jpaulino. This works great, i can now use the SelectedIndexChanged Event for a combo-box in a datagridview.