public bool isWordDB(String s) { SQLConnection connect = new SQLConnection(); int dt = connect.getWords(s).Rows.Count; if (dt == 0) { return false; } else { return true; } }
public List<String> getAllWords() { long counter_pre = DateTime.Now.Millisecond; SQLConnection connect = new SQLConnection(); List<String> output = connect.getWords(); long counter_post= DateTime.Now.Millisecond; return output; }