Hi, I have a code like this:
db_in.Select(“[VALUE] <> ‘ “ + var1 + ” ’“).CopyToDatatable()
Given that I have a list of numbers, let’s say 10000, 10001, 10002, 20001, 20002, 20003. I’d like to select only the variables that do not start with 2 (and 2 is defined in a variable). How do I go about changing my code? I’ve tried LIKE but been told that it’s text only (?) and either way I cannot get it working. Any tips?