Hi
I code a helper class and it works fine in Windows, lately, I put my project to Mac and it throw EntryPointNotFoundException:sqlite3_column_origin_name when call SqliteDataAdapter.Fill(). I have copied Mono.Data.Sqlite and System.Data to project folder.
Any help? Thank you!
public DataTable Q(string sql){
try {
DataTable _dt= new DataTable();
_cmd= _conn.CreateCommand();
_cmd.CommandText=sql;
_da = new SqliteDataAdapter(_cmd);
_da.Fill(_dt);
return _dt;
} catch (Exception ex) {
return null;
}
}