mysql添加代码
PreparedStatement stat = conn.prepareStatement(sql);
String sql = "insert into tex2(name,age) values("+name+","+age+")";stat.execute(sql);