I have a TableAdapter Query for which I would like to pass a parameter with multiple values.
The underlying query uses a " .... WHERE A in (@Values)......" type command.
Field "A" is of type int
I've changed the parameter type of the parameter to string to allow me to pass a value like "1,2,3"
However, when I execute the query, I get a "Conversion failed when converting the varchar value '1,2,3' to data type int" error.
ANY help / advice would be appreciated, even if I have to use other objects instead of the genereated TableAdapters.