如何取得结果集合的行数、每一列的列名?
解决方案 »
- 高手进,如何利用jmf播放网络中的歌曲
- 想用"\n"实现换行,却变成了黑方框?
- 请问在java中可以调用用C++写的函数或程序吗吗…………………………!谢谢了
- 我写的两个类来查询12张表,但是总是又数据丢失,就是说有些符合条件的数据不能够查询出来
- button上加图标,变背景为透明怎么做?急!!
- 侃侃这个Java程序,很有意思
- applet连接数据库的问题
- [疑问]在保存全局数据时,Singleton类和Class static member谁更合适?
- 怎样在jb的Frame中加入两个并列的Panel,立即给分?
- java读文本文件的问题?
- 如果需要增加一个类库(Framework jar文件),是否每个类库都要在classpath中设置,有没有更方便的方法。
- java编译时的问题
String getSystemId()
Get the system identifier that was set with setSystemId.
void setSystemId(String systemId)
Set the system identifier for this Result.
http://java.sun.com/j2se/1.5.0/docs/index.html
it's usefull.
int numCols = rsmd.getColumnCount();for(i=1;i<=numCols;i++){ if(i>1) System.out.print(","); System.out.(rsmd.getColumnLabel(i)); }}