Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }