I have a data table 'dt_ExcelData' with in my program. I need to get how many rows in that data table. I'm using this to get the row count.
dt_ExcelData.Rows.Count
But in my data table , some times there is blank rows in end of the data table. I don't need to get blank rows for the row count.
How can I get that?
I'm using C# windows application form.