Calculate column in datagridview

Hi, at the moment I'm trying to calculate different columns in a datagridview. I currently have 17 rows in total, where i first need to calculate the first 6 rows of the column, and display it in row 7. Afterwards, if this total exceeds a certain number, row 8 is added data. After this, I need to calculate the final rows, 7-17, and display the total in 18. How can i do this?

by grokunga via /r/csharp

Leave a Reply