Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I want to make condition within listbox contains employees names so that select any employee name within listbox then show all employee data that I selected in datagridview
what's the code to make that?


[edit]Code block removed[/edit]
Posted
Updated 14-Dec-10 2:04am
v2
Comments
TweakBird 14-Dec-10 8:01am    
No effort.
senguptaamlan 14-Dec-10 8:02am    
what the code you have done ? and what the problem you are facing in doing the code...here the guys are not for writing code for you....I think I'm clear..

1 solution

1) Handle the Listbox.SelectedIndexChanged event MSDN[^]

2) Update the DataGridView by your preferred method.
 
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