private bool DoInsert() { if (ListUser == null || ListUser.Count <= 0) { return(false); } TUser user = new TUser(_dbpath, PassWord); int count = 0; foreach (CUser u in ListUser) { CUser tmp = u; if (user.Insert_User(ref tmp)) { count++; } } if (count <= 0) { return(false); } else { return(true); } }