千 千秋雪 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #1 怎样在MSYSQL中插入图象,图象的大小有什么限制jsp有代码吗?
L lnboy Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-12 #2 插入,更新等操作返回的不是ResultSet 而是 int(更新的纪录条数) 应该是这样写: int i=s.executeUpdate(sqlstr);
千 千秋雪 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-13 #3 to lnboy 不是的 其实是少了几个标点而已,如下即可了 sqlstr="insert into kehu(ids,ps,name,phone,mail,other,ok) values ("+"'"+idss+"',"+"'"+ps1+"',"+"'"+names+"',"+"'"+phones+"',"+"'"+mails+"',"+"'"+others+"'"+",'0')"; ResultSet rs=s.executeQuery(sqlstr);
to lnboy 不是的 其实是少了几个标点而已,如下即可了 sqlstr="insert into kehu(ids,ps,name,phone,mail,other,ok) values ("+"'"+idss+"',"+"'"+ps1+"',"+"'"+names+"',"+"'"+phones+"',"+"'"+mails+"',"+"'"+others+"'"+",'0')"; ResultSet rs=s.executeQuery(sqlstr);