Hello,

Imagine a datagridview with a numeric column named "Duration".
This datagridview allows multiple selection.

As user selects multiple cells ONLY from this column, I want label1 to show the sum of all selected durations.
If user selects another column - or several columns - then label1 should only show "[n] rows selected" (where n represents the number of selected rows)

I have been googling this but didn't found nothing useful...

Can you please help?