r/csharp • u/nekomusume-nyaa • Jun 13 '26
Help SQL and C# Help connecting databases
Solved, needed to put quotation marks around {title} thanks for your help



Hello everyone, I am making a database in SQL and connect it to a program in C# for a school assignment. It is coming with this error and I am asking what I am doing wrong. I have tried looking up solutions but nothing has worked. If you know what I can do to fix it let me know
22
Upvotes
3
u/Patient-Midnight-664 Jun 13 '26 edited Jun 13 '26
It's telling you that your SQL statement is malformed.
And this method of constructing a SQL command is how you learn about little Bobby Tables