G
Guest
Hello, everyone:
I have a store procedure just like:
select name, id from user
where( id in (@id))
When I try to set the parameter (@id) value with multiple id, I always get
error, could anyone tell me how to set the value correctly?
what I have done is:
com1.parameters["@id"].value="1,2,3,";
but the type of this parameter is int.
thanks for your help.
haiwen
I have a store procedure just like:
select name, id from user
where( id in (@id))
When I try to set the parameter (@id) value with multiple id, I always get
error, could anyone tell me how to set the value correctly?
what I have done is:
com1.parameters["@id"].value="1,2,3,";
but the type of this parameter is int.
thanks for your help.
haiwen