A few issues
1) you dont show us any usable C# code except (2)
2) what you do show is that your SQL is subject to SQL injection attacks, you should learn how to use parameters instead
3) your SQL statement syntax itself is incorrect - you need
DELETE from login.mytable where id IN (23, 54);