摘要:
package Controller; public class TranslationStr { public String HtmltoStr(String newText) { // newText = newText.replace("\n", "<br>"); //textBox里的换行是 阅读全文
posted @ 2020-03-12 20:16
zcm1998
阅读(463)
评论(0)
推荐(0)
摘要:
向数据库存储数据报错 com.microsoft.sqlserver.jdbc.SQLServerException:该语句没有返回结果集 错误代码 rs=stmt.executeQuery(sql); 解决方法 int count=stmt.executeUpdate(sql); 总结: stmt 阅读全文
posted @ 2020-03-12 19:07
zcm1998
阅读(2418)
评论(0)
推荐(0)
摘要:
我的问题是插入String类型数据,报错。解决后总结 insert into 表名 (列名1,列名2......) values ('字符串1','字符串2',.......); 需要插入的value使用单引号 如果插入String类型value insert into 表名 (列名) values 阅读全文
posted @ 2020-03-12 18:55
zcm1998
阅读(2303)
评论(0)
推荐(0)

浙公网安备 33010602011771号