Exemple #1
0
        public bool Delete()
        {
            try
            {
            objclsCONTACT_LIST = new Contact_list();

            objclsCONTACT_LIST.CONTACTID = CONTACTID;

            if(objclsCONTACT_LIST.Delete())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
Exemple #2
0
        public bool Insert()
        {
            try
            {
            objclsCONTACT_LIST = new Contact_list();

            objclsCONTACT_LIST.LISTID = LISTID;
            objclsCONTACT_LIST.SUBSCRIBES = SUBSCRIBES;

            if(objclsCONTACT_LIST.Insert())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
Exemple #3
0
        public DataTable Select()
        {
            DataTable dt;
            try
            {
            objclsCONTACT_LIST = new Contact_list();

            objclsCONTACT_LIST.CONTACTID = CONTACTID;

            dt = objclsCONTACT_LIST.Select();
            return dt;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }