I'm using VB 2005 and a DataGridView which has PromiseDate in first column and ProductTypes in the remaining columns that contain a count of past due items for the date that is in column 0 for that row.
What I want to happen is when a Cell is clicked, I want get the Date from Col. 0 for the row of the clicked cell and the value of the column header for the clicked cell (product) so I can then use them in a query to show the user the orders that make up
the count in that cell.
I have the grid set to "dgvPastDueCnt.SelectionMode = DataGridViewSelectionMode.CellSelect" and take it I need code put in the "dgvPastDueCnt_CellClick" event.
How do I get the Row/Column(0) and Column Header value for the selected Cell?