Click here to Skip to main content
15,917,583 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends


I have 2 comboboxes and I need to load a datagridview in form2 after selecting values from combo box in form 1.... pls kinldy help me
Posted

1 solution

you need to pass data to form2
check
Passing Data Between Forms[^]
Using a delegate to pass data between two forms[^]
Passing Data between Windows Forms[^]
or more resources...[^]

Get the selected item Text or value property and send it to form2 on button click or 2nd combo box slected index changed event

combobox selecteditem[^]
 
Share this answer
 
v3

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