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