not using the REFramework. Just using the same nomenclature for my initallsettings.xaml.
My config.xlsx just has three(3) values in the “Settings” sheet. All three are file locations. So nothing really wild.
The Not String.ISNullOREmpty(…) is not working in C#, hence my just looking at the row to see if is “null”.
I know that this should be something simple.
I’ve been coding in C# for about 15-16 years now. Never run across this type issue before.
I’m not that experienced in C# syntax, but it’s almost like it thinks you are using row like a method instead of a variable.
What if you use the generic ForEach with TypeArgument DataRow, so it’s like: For each row In configTable.AsEnumerable()
Note: you can also get rid of the If condition if you integrate linq: For each row In configTable.AsEnumerable.Where(r => r("name").ToString.Trim != "").ToArray()
or something like that…
Also, do some searches on google if you still can’t figure it out as maybe stackflow has some answers.