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); } }
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); } }
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); } }