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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -