i am doing Csharp with sql. but i am getting error as
There was an error parsing the query. [ Token line number = 1,Token line offset = 40,Token in error = First]
If you have a white-space in your column name(s) you need to use square brackets.Use [First Name]
instead of First Name
and [Account Manager]
instead of Account Manager
.If you are inserting a value to all of your columns then you don't need to specify column names.
Also you should consider using parameterized queries to prevent SQL Injection
attacks.