I want to make the form text boxes get filled automatically when I click data in the DataGridView given in my form.
I want the Dynamic Textboxes to get filled automatically, i.e. I want to pass the data from DataGridView to the active textboxes I just do not know how to do it. Didnt find anything on the internet that helps, or I probably didnt phrase it right. Any solution is okay, and i dont need the whole code, just the concept of it, or some pseudo code will do. P.S. I used an MS Access database for this.
Okay so WinForms has a property in Design view, Events called
CellContentClickandCellContentDoubleClickwhich invokes a certain event when called. So when i double click on a cell or element in the data after adding this code to the event :-then it takes the value of the specified cells of the rows, for example :- Selected Cell of a DataGridView and then it passes the text to the specified Text Boxes :-
output of the code