public void deleteDatabaseTable(string tableName)
{
// string table1, table2;
string databasePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string databaseFile = databasePath + @"\db_psychrometric_project.s3db";
string connString = @"Data Source=" + databaseFile + ";Version=3;";
using (SQLiteConnection connection = new SQLiteConnection(connString))
{
connection.Open();
//SQLiteDataReader reader = null;
string queryString = "Drop table "+tableName+"";
SQLiteCommand command = new SQLiteCommand(queryString, connection);
command.ExecuteNonQuery();
}
}