Variable in select


Hi All ,

I am trying to get a variable to a value and then use that in the select statement , but i get this error during the exectution.

DEU is the value that i have to search, is the value of the variable, and not the column name.

thank you



Try to pass like this:

paesi.Select("Alpha3 = '" & nazionalit.ToString & "'")

Let me know if worked.



It works great!
Thank you!