示例#1
0
        public bool Update()
        {
            try
            {
            objclsAUTORESPONDER = new Autoresponder();

            objclsAUTORESPONDER.ID = ID;
            objclsAUTORESPONDER.USERID = USERID;
            objclsAUTORESPONDER.NAME = NAME;
            objclsAUTORESPONDER.DESCRIPTION = DESCRIPTION;
            objclsAUTORESPONDER.LISTID = LISTID;
            objclsAUTORESPONDER.FROMNAME = FROMNAME;
            objclsAUTORESPONDER.FROMEMAIL = FROMEMAIL;
            objclsAUTORESPONDER.STATUS = STATUS;
            objclsAUTORESPONDER.MODIFIEDDATE = MODIFIEDDATE;

            if(objclsAUTORESPONDER.Update())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
示例#2
0
        public bool Delete()
        {
            try
            {
            objclsAUTORESPONDER = new Autoresponder();

            objclsAUTORESPONDER.ID = ID;

            if(objclsAUTORESPONDER.Delete())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
示例#3
0
        public DataTable Select()
        {
            DataTable dt;
            try
            {
            objclsAUTORESPONDER = new Autoresponder();

            objclsAUTORESPONDER.ID = ID;

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