title: How to display data from SQL Server in a ListView or TableView
body: <p>I have connected to my SQL Server using JTDS v.1.2.8</p>
  
  <p>I am new with the JDBC Plugin and I am trying to figure it out. I also did check the forums for a related question/answer but I couldn't find one, so here I am, asking :)</p>
  
  <p>What I want to achieve is that I want to display the data I get from the SQL Database in a better way, like a listView or a tableView.</p>
  
  <p>This is the code I'm using at the moment, I am just calling "tblItems" and it just displays table's info inside a textView which works, but kinda sucks to look and read at it.</p>
  
  <p>Any comment or answer to point me in the solution of this is very appreciated.</p>
  
  <p>Thanks for your time.</p>
  
  <pre><code>    TextView tv = (TextView)this.findViewById(R.id.display);
      try {
      Class.forName("net.sourceforge.jtds.jdbc.Driver");
      Connection con = DriverManager.getConnection(url, username, password);
      System.out.println("Database connection successfully");
  
      String result = "Database connection success\n";
  
      Statement st = con.createStatement();
      ResultSet rs = st.executeQuery("select * from tblItems");
      ResultSetMetaData rsmd = rs.getMetaData();
  
      while(rs.next()) {
          result += rsmd.getColumnName(1) + ": " + rs.getInt(1) + "\n";
          result += rsmd.getColumnName(2) + ": " + rs.getString(2) + "\n";
          result += rsmd.getColumnName(3) + ": " + rs.getString(3) + "\n";
  
      }
      tv.setText(result);
  
  
  }
  catch(Exception e) {
      e.printStackTrace();
      tv.setText(e.toString());
  }
  </code></pre>