I am using a datagridview to display a table, and I want that, on mouseClick on any row of the datagrid, something like a popup/sub-form should show the row items in it and the user is able to edit it.
For this, I managed to successfully display rows in the datagridview, created a form dynamically and added controls (textboxes and Add/Update buttons with click-event handlers) to it.
The problem is how to access the controls of this form (i.e the values of the textboxes) in the Button Click even Handling Sub, so that the table/dataset is updated?
I am UNABLE to 'reference' the controls in the dynamically created form.
Software/Hardware used: VB.Net, VS 2012, MS-Access
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!