增:
Connection conn=SQLHelper.getConnection();
try
{
String sql="insert into user1 values(?,?)";
PreparedStatement pstm=conn.preparedStatement();
pstm.setString(1,"xiao");
pstm.setString(2,"1988");
pstm.execute();
conn.close();
}
catch(Exception ex)
{
}