Esempio n. 1
0
        private ClsSMS GetSDette(IDataReader rd)
        {
            ClsSMS sms = new ClsSMS();

            i = i + 1;

            sms.Num = i;
            //sms.Code = Convert.ToInt32(rd["id"].ToString());
            sms.NumeroTutaire = rd["Numero"].ToString();
            sms.CorpsMessage  = rd["Message"].ToString();


            return(sms);
        }
Esempio n. 2
0
        private ClsSMS GetSMS(IDataReader rd)
        {
            ClsSMS sms = new ClsSMS();

            i = i + 1;

            sms.Num           = i;
            sms.Code          = Convert.ToInt32(rd["id"].ToString());
            sms.NumeroTutaire = rd["NumeroTutaire"].ToString();
            sms.CorpsMessage  = rd["CorpsMessage"].ToString();
            sms.EtatSms       = Convert.ToInt32(rd["EtatSms"].ToString());
            sms.DateEnvoie    = rd["DateEnvoie"].ToString();
            sms.Utilisateur   = rd["UserSession"].ToString();

            return(sms);
        }