I have webservice which is passed an array of ints.
I\'d like to do the select statement as follows but keep getting errors. Do I need to change the array to a string?
command = new SqlCommand("SELECT x FROM y WHERE x.id IN (@actions)", conn);
command.Parameters.AddWithValue("@actions", act);
command.CommandText = command.CommandText.Replace("@actions", act);