Can't check if row is empty in excel column


I need to check if the B column row is empty Then go to the next link in column A … Column A has the list of links that needs to navigate and data scrapped in other columns …


You can use String.IsNullOrEmpty method to validate condition.
if String.IsNullOrEmpty(row(“B_Col_Name”).ToString) {
// Perform your operations

It worked Thanks @Pankaj.Patil

1 Like