Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello friends

i want to fill the combo on datagridview according to other datagridview combo on same grid how can i achive this

thanks in advance
Posted
Comments
Varun Sareen 13-Feb-12 3:31am    
Please tell us the complete scenario means which row you want to fill?, what you want to fill? and what you want to achieve?

Thanks

--Varun
srilekhamenon 13-Feb-12 4:16am    
i have a datagridview and there are few column the first two column are combo and i want when i select the value in first combo the second combo fill accordingly

1 solution

You handle the selection changed event of the first combo, and then based on that selected, prepare the right data to put in to the second combo and populate it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900