private bool DoUpdate() { TJuncInfo juncinfo = new TJuncInfo(_dbpath, PassWord); TJuncExtInfo juncextinfo = new TJuncExtInfo(_dbpath, PassWord); if (ListJunc == null || ListJuncExt == null) { return(false); } bool b1 = juncinfo.Update_JuncInfo(ListJunc); bool b2 = juncextinfo.Update_JuncExtInfo(ListJuncExt); return(b1 & b2); }