当前位置: 网站首页 > JAVA > j2me

J2ME综合--关于J2ME中RMS的使用解析

时间:1970-1-1 08:33:31来源: j2me作者:admin 点击:0次 字体 [ С]

Appointment app = new Appointment(int1, int2, long1, str1, str2, str3, b);
//str1作为保留字段,在这里如此操作:例如若int1为我们设定的关键字,那么str1 = Integer.toString(int1);

byte[] data = app.toBytes();
rs.setRecord(id, data, 0, data.length);
success = true;
rs.closeRecordStore();
} catch (Exception e) {
}

 


发表评论
验证码:
最新评论
相关文章
最热文章