winforms - Capture data grid event from one user control to another -


i working on windows forms application. application contains main container load user controls @ run time.

i have 1 user control contains data grid. have user control contains data grid , tab control.

what need when row selected in grid view 1 (of user control 1) based on id of selected row fatch value data base , bind data gridview 2 (of user control 2). , default first row of gridview 2 selected , based on selected row data populated in tab control (of user control 2).

can please provide me basic code of event creation, raising , handling between user control. in advance.

try either of these approaches:

hierarchical data binding

hierarchical data binding dataset


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -