As the title says, I want to make the rows of a DataGrid clickable. The DataGrid is populated from a MySQL database and I want a situation where when a row is clicked I can perform action just like you would a button on click. Any help?
Asked
Active
Viewed 281 times
0
-
You want each cell to be clickable? – Harry Nov 04 '14 at 12:00
-
@Harry row. but if all cells on a row can point to the same thing, then that's fine too – manlikeangus Nov 04 '14 at 12:04
-
take a look at this http://www.codeproject.com/Articles/12298/Clickable-Rows-in-a-DataGrid and possible duplicate of http://stackoverflow.com/questions/8197592/datagrid-clickable-row let me know if these help – Harry Nov 04 '14 at 12:38
-
@Harry that's for ASP.NET . . . How do I adapt it for winforms? – manlikeangus Nov 04 '14 at 12:40
-
Please update your question to reflect what you are after, I missed the winforms tag. – Harry Nov 04 '14 at 12:42
-
take a look at this http://stackoverflow.com/questions/22790181/wpf-datagrid-row-double-click-event-programmatically – Harry Nov 04 '14 at 12:45
-
@Harry I just want the row (or cells) to be clickable sort of like a button. – manlikeangus Nov 04 '14 at 13:05