Guest User

Guest User

  • Tech Writer
  • 115
  • 21.6k

C# STORING ARRAY into SQLITE

Jan 25 2016 1:48 PM
MAN you are so cool! Could you help me about  another problem?...

I got a project called "Oxford emotion" by Microsoft.

I want to save emotions into sqlite.db, i tried as usually but it  does not work!
I think because i'm doing wrong something about storing array...
 
 Project Link:
https://www.dropbox.com/sh/qoddiiew8iw57ds/AADOHSEeiziZupCqNtbMO6hAa?dl=0
https://www.dropbox.com/sh/1yzhj02vu1tsoeg/AACU0Uy36rZrjrHTY0WdRLnFa?dl=0
 

SQLITE INSERT:

string Query = "insert into Emotions (Anger) values ('"+ ???? I DONT KNOW????+ "')";


ARRAY TO STORE:


Emotion emotion = emotionResult[i];


resultDisplay[0] = new EmotionResultDisplay{ EmotionString = "Anger", Score = emotion.Scores.Anger };