Here is my code :
BookMark[] st = CSDatabase.RunQuery<BookMark>(
@"SELECT * FROM Bookmark WHERE link='" + link + "'");
class BookMark
{
public string link;
}
Sometimes I get a NullReferenceException but I don't why.
Please help me!
If you are using a sqlite Database the problem is due to the sqlite database set to an encoding other than UTF-8. Just create a new sqlite database in the UTF-8 encoding and the error will go away.