关于方法的问题!!在线等待,我没有分了,希望大家能帮我!!!!

lgljz 2003-04-02 10:37:59
我想问问:RS_photo.getByte(1) ;
中的getByte(int);
参数int 是代表什么意思?RS_photo是一个记录集
...全文
48 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
acefr 2003-04-02
  • 打赏
  • 举报
回复
看看就明白了。
呵呵
addoil!
freeever 2003-04-02
  • 打赏
  • 举报
回复
是记录集中的第几个字段
acefr 2003-04-02
  • 打赏
  • 举报
回复
java.sql
Interface ResultSet


getByte
public byte getByte(int columnIndex)
throws SQLException
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
the column value; if the value is SQL NULL, the value returned is 0
Throws:
SQLException - if a database access error occurs

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧