1
Answer

Counting row numbers on datagridview

Ask a question
yokzu

yokzu

15y
3.8k
1
Hi.
I am using an excel file and there is 5 column.  One of them has 3 rows of data. And the others 5,7 and 10 rows of data. I mean there are empty rows in some columns. When I display alternately this columns in datagridview, there are showing empty rows too.

I want to count this rows which has data. I mean if a columns has 3 rows of data, I want to "3" number. I hope I could explain.

Answers (1)