I want to read row until row blank (red text)
input2.xlsx (9.0 KB)
Please guide me about it.
First count up to blank
then use that count in the range simple
Regards
Chethan P
Hi @fairymemay
Please try this
dtTable.AsEnumerable.TakeWhile(Function(row) row.ItemArray.Any(function(col) not string.IsNullOrEmpty(col.ToString))).CopyToDataTable
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.