Hi I am new to C#, I have a datagridview that populates student data. I also have a button beside each student row. This button would go to a new form with the student details of that selected student in the first form.
Here is an example of what that would look like. How do I code the button to go to a student details form for that selected student that the button was pressed for?

Sam HobbsPosted May 6, 2022, 9:33 AM
You say datagridview so you mean Windows Forms application, correct? Not WPF and not DataGrid, correct? If so then the answer from Muhammad Imran Ansari is for you.
Muhammad Imran AnsariPosted May 4, 2022, 6:02 PM
Uttam KumarPosted May 4, 2022, 4:54 PM