Exemple #1
0
        public int update_followed_up()
        {
            DAFolloaed_patient dfp    = new DAFolloaed_patient();
            ListDictionary     Params = new ListDictionary();
            int result = dfp.update_followed_up(Params);

            return(result);
        }
Exemple #2
0
        public List <Patiants> getFolloaed_patient()
        {
            DAFolloaed_patient dfp    = new DAFolloaed_patient();
            ListDictionary     Params = new ListDictionary();
            DataSet            ds     = dfp.getFolloaed_patient(Params);
            List <Patiants>    lp     = new List <Patiants>();
            Patiants           p;

            foreach (DataRow item in ds.Tables[0].Rows)
            {
                p           = new Patiants();
                p.Id        = BLCtrl.getString(item, "id", " ");
                p.FirstName = BLCtrl.getString(item, "FirstName", " ");
                p.LastName  = BLCtrl.getString(item, "LastName", " ");
                p.Phone     = BLCtrl.getString(item, "Phone", " ");
                p.Phone2    = BLCtrl.getString(item, "Phone2", " ");
                p.City      = BLCtrl.getString(item, "City", " ");
                p.Kupah     = BLCtrl.getInt(item, "Kupah", 1);
                //p.FollowUp = BLCtrl.getBool(item, "FollowUp", false);
                lp.Add(p);
            }
            return(lp);
        }