Hello All,
I am fetching some data from database in a excel file.
The first row of file has the number of records fetched from the database and second row onward I have the actual data (where second row has the header and actual data from 3rd row onward).
What I want to do is get the number from first row(number of records fetched from the database) and compare it with count of rest of the data(excluding the header on row-2). And if the count matches then only do the further processing.

Can anyone help me with this.
Thank you