i am passing values to stored procedure from .net through command parameters.when i pass values like
string City="'Lucknow','Kanpur'";
Com.Parameter.AddWithValues("@Cities",City);
create procedure SPGetState
@Cities varchar(2000)
As
Select * from Temp Where City in(@Cities)
i can't get the result.But i run this in Sql Query Analyzer ,i get the result.What;s the problem,i can't find................