Hi there
I have a small problem. I have a datagridview on my winform. I also have a label that will display hours worked. What I would like to do is when I select a whole row in the datagridview, I want the label mentioned to display hours worked for the selected row. My first column in the datagridview is my date column. When I select a whole row, the label must show how many hours are worked. There are also a column called office hours where the hours are stored.
It gets a bit tricky, because there are rows with the same date. So in this case it must count all hours in rows with the same date, and display the total hours in the label.
I would've added some code, but I don't know what code to show you, so please any help? Ask me if I must add some code.