using (var db = new SQLiteConnection(conn))
{
db.Open();
SQLiteCommand selectCommand = new SQLiteCommand(db);
try
{
foreach(var v in List)
{
selectCommand.CommandText = String.Format("INSERT OR REPLACE INTO test (re) VALUES ('{0}')", v.ToString());
selectCommand.ExecuteScalar();
}
}
catch(SQLiteException error)
{
//
}
db.Close();
}