public List<string> GetUsers()
{
List<string> users = new List<string>();
string solutionPath = Environment.CurrentDirectory;
string dbPath = Path.Combine(solutionPath, "db.sqlite3");
SQLiteConnection connection = new SQLiteConnection(solutionPath);
connect.Open();
SQLiteCommand command = connection.CreateCommand();
command.CommandText = @"SELECT username FROM tableUsers";
command.CommandType = CommandType.Text;
SQLiteDataReader reader = command.ExecuteReader();
while (reader.Read())
users.Add(Convert.ToString(reader["username"]));
connection.Close();
return users;
}