Please help me fix the syntax for this command text "query" below. I want to pass a list of integers "ints" to retrieve all rows that match them.
private void(List<int>ints)
{
// some variables
string query =
string.Format(
"SELECT * FROM " + table +
" WHERE SubId={0} AND RouteID IN({1})",
SubId,
ints
);
// more stuff
}