Skip to content
Advertisement

Tag: c#

Select statement: Invalid column name, in C# using Dapper [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 6 months ago. Improve this question

SQLite C# System.Data.SQLite.SQLiteException

I want to insert data into a database via sqlite but each time I got the error below: Connection Established Successfully… code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error near “hpi_caseid”: syntax error at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) at System.Data.SQLite.SQLiteCommand.BuildNextCommand() at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at

Advertisement