In C# i need to read the Excel File using Interop.
I am using : using Excel = Microsoft.Office.Interop.Excel;
And i am able to read data from Excel File.
Problem is in my Sample Excel File there are only 6 rows and it also reading more than six rows.
It giving row count 1702 and actual count is 6
How i can i avoid the same.