SHARE
TWEET

Untitled

a guest Jan 21st, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  public static String listToHTML(List<Users> listed) {
  2.         String toReturn = "";
  3.         for (Users list : listed) {
  4.             toReturn = toReturn + "<tr> <br/>" + "<td> <a href= '?userid=" + list.getId() + "'>" + list.getFirstName() + " " + list.getLastName() + "</a> </td> <td>" + list.getAge() + "</td> <td>" + list.getState() + "</td> <td>" + list.getInfo() + "</td></tr>";
  5.         }
  6.         return toReturn;
  7.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top