67,549
社区成员




try
{
PreparedStatement preStmt = con.prepareStatement("insert into t_bb(f_no,f_name) values(?,?)");
preStmt.setString(1,"ABCDEFG");
preStmt.setString(2,"中国从前有个传说");
preStmt.executeUpdate();
}
catch(SQLException e)
{
System.out.println(new String(e.toString().getBytes("iso-8859-1"),"utf-8"));
}