Пример #1
0
        /************************************************************************/
        /*                                                                      */
        /************************************************************************/
        public static void InitCacheIllegal()
        {
            pIllegalList.Clear();
            DataSet ds = new SmsIllegal().GetAllIllegalWords();

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                pIllegalList[row["KeyWord"].ToString( )] = 1;
            }
        }
 /************************************************************************/
 /*                                                                      */
 /************************************************************************/
 public static void InitCacheIllegal()
 {
     pIllegalList.Clear();
     DataSet ds = new SmsIllegal().GetAllIllegalWords();
     foreach (DataRow row in ds.Tables[0].Rows)
     {
         pIllegalList[row["KeyWord"].ToString( )] = 1;
     }
 }