Try using the below expression as these expression expect a return value.
For Each row In dt.AsEnumerable().Where(Function(row) String.IsNullOrEmpty(row(“Comments”).ToString())).ToList()
row(“Comments”) = “No record”
Next
Try using the below expression as these expression expect a return value.
For Each row In dt.AsEnumerable().Where(Function(row) String.IsNullOrEmpty(row(“Comments”).ToString())).ToList()
row(“Comments”) = “No record”
Next