I have a DataTable, and one of the columns “NameList” is of type List.
I iterate through each row using For Each Row, so i get each row as userRow.
I am using an If activity and I want to set the condition as:
userRow("NameList").Count > 0
I’ve been trying to somehow access this List via userRow(“NameList”) but I get Option Strict On disallows Late Binding error etc.
If userRow(“NameList”) contains a list of strings separated by semicolon like :
“Susana;Marcos;Pedro;Lucía” you can use this code to know the number of items:
If you only need to know if userRow(“NameList”) is empty or not maybe you can use an easy way for example String.IsNullOrEmpty(userRow(“NameList”).ToString).