20201103赵博
public  void save() throws Exception {
           class.forname(classname)
       加载数据库驱动 
           connection dricermanare.getconnection(url, "root",""
       创建数据库连接;
           string spl= 加入 删除的内容
       拼写spl语句;
           connection preparestatement (spl);
       发送spl; 
           int i=preparestatement.executeupdate();
       执行spl;
           if (i>o){    }
       处理结果;
           prepareStatement.close();
           connection.close();
                   关闭资源;
心得体会:通过今天的我学习到了数据库相关的操作,完善了之前的网页相关制作,在之后的学习中我应当更加努力学习,使自己
    更加适应当前的学习。
    
					点赞
				
    


评论留言