F
Frédéric Mayot
Hi,
It seems that this code does not work, what's wrong ??
dim s as string = "SELECT * FROM sometable WHERE somefield IN (@stuff)" '
where somefield is an int
dim cmd as new command
dim arr() as integer
[...]
if arr.length > 0 then
cmd.parameters.add(new sqlparam("@stuff", arr))
[...]
end if
It seems that this code does not work, what's wrong ??
dim s as string = "SELECT * FROM sometable WHERE somefield IN (@stuff)" '
where somefield is an int
dim cmd as new command
dim arr() as integer
[...]
if arr.length > 0 then
cmd.parameters.add(new sqlparam("@stuff", arr))
[...]
end if