示例#1
0
        public bool isWordDB(String s)
        {
            SQLConnection connect = new SQLConnection();
            int dt = connect.getWords(s).Rows.Count;

            if (dt == 0)
            {
                return false;
            }
            else
            {
                return true;
            }
        }
示例#2
0
 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;
 }