代码如下:
try
{
PreparedStatement preStmt = con.prepareStatement("insert into t_bb(f_no,f_name) values(?,?)"); PreparedStatement preStmt =