JDBC
Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
java.sql.Connection c = DriverManager.getConnection("jdbc:odbc:entities",”login I mailed you",”passwd I mailed you");
java.sql.Statement s= c.createStatement();
rs = s.executeQuery("Select * from [csepclab\\hongyu].Office");
java.sql.ResultSetMetaData md = rs.getMetaData();
area.append("\nTUPLE: |");
for (int i = 1; i <= md.getColumnCount();i++){
area.append(rs.getString(i) + " | ");