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