public DataTable createTable(string selectCommand) { database db = new database(); MySqlDataAdapter data = new MySqlDataAdapter(selectCommand, conn); DataSet DS = new DataSet(); data.Fill(DS); return(DS.Tables[0]); }