I have this line of code:
sql += " AND lc.name IN ('" + String.Join(",", id.type.ToArray()) + "')";
There are two items in id.type and this code generates this:
AND lc.name IN ('towns back to back,towns 3 storey')
Which will not work because it should be like this:
AND lc.name IN ('towns back to back' , 'towns 3 storey')
How can I fix this?