❔ DataGridView Issue
Hi sorry, I tried using DataGridView and want to try and get the person to click one of the rows that will open another form. As well as this, I want to change how it looks, so that each row equals a Box with details. E.g. Row with a title, description and tag displays as a box option that the user can click. Can I do this? Thanks in advance!
2 Replies
I believe for click you need to use CellClick https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridview.cellclick?redirectedfrom=MSDN&view=windowsdesktop-7.0 and then find the row from there
DataGridView.CellClick Event (System.Windows.Forms)
Occurs when any part of a cell is clicked.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.