I\'ve got the following query that returns 2 records (in DataSet\'s query builder)
SELECT EmpID, Name, id FROM Users WHERE (CAST(id AS Var
Bibhas is correct. For me this worked:
string param="'1234','4567'"; we can't use param as SQL Parameter(@param).
string param="'1234','4567'";
command = new SqlCommand("SELECT * FROM table WHERE number IN (" + param + ")", connection);
command.ExcecuteReader();