I am trying to make Windows form system to open a new form with a DataGridview, so that i can choose someone in that datagridview and it fills up the information from the first form with the information chosen from the datagridview.
Ex
In that picture when i choose the button next to the textbox, below “paciente ID” it opens the second windows form with the datagridview, what i would like to know is how can i past the information of the datagridview into the blank textboxes (only the information of the row i choose).
Wish for any advice, if you can help i will love it.
i tried using a method that automatically chooses the information from a selected row in the datagridview, but it only works for the textboxes in the same form as the datagridview.
Wilson Bienvenido Otaño Mateo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.