mardi 7 avril 2015

It's the first time i work with SQLite DB, i'm trying to add a List in my table.


This is my class :



public DbF(string title, string content, bool myfavoris, int partner, List<string> tags)



I add like that :



obj.Insert(new DbFavoris(title, content, true, partner, tags));


I got this error :



Don't know about System.Collections.Generic.List`1[System.String]



I realized after searching, we can't add directly a list but i don't know how to do because i retrieved my tags with a json i put the data immediately in a list


Thanks in advance


Aucun commentaire:

Enregistrer un commentaire