access element on usercontrol
Windows Forms
1
Posts
1
Posters
0
Views
1
Watching
-
hi, i have a datagridview on a usercontrol "products" hosted from a form "productsform". my grid shows a dataset by using a bindingsource bsproduct with nearly 500 records. by clicking a row in the grid i want to show a detailform "productdetailform" with a usercontrol "productdetails" that has textboxes and displays the values. after changing the data, the row in the dataset should be updated, and the productdetailform should be closed. how can i handle this ? i thought i can deliver the bindingsource bsproduct to the productdetailform and bind my controls to the Usercontrol productdetails. delivering the bindingsource to productdetailform is ok, but how can i access the bindingsource in the code of the userontrol productdetails ?? bye jo