/// <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(); }
/// <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(); }