예제 #1
0
        /// <summary>
        /// 从数据库发送短信
        /// </summary>
        private void SendDBMSG(object state)
        {
            SendManager iss = new SendManager(this.SMSDBHelper);
            SendEntity  se  = new SendEntity();

            this.SMSDBHelper.Open();
            se = iss.GetEntity("0");
            sp.SendToCom(se.Phone, se.Txt);
            se.Sent = "1";
            iss.Update(se);
            this.SMSDBHelper.Close();
        }
예제 #2
0
 /// <summary>
 /// 从数据库发送短信
 /// </summary>
 private void SendDBMSG(object state)
 {
     SendManager iss = new SendManager(this.SMSDBHelper);
     SendEntity se = new SendEntity();
     this.SMSDBHelper.Open();
     se=iss.GetEntity("0");
     sp.SendToCom(se.Phone,se.Txt);
     se.Sent = "1";
     iss.Update(se);
     this.SMSDBHelper.Close();
 }