freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

jspsqlserver教室信息管理系統(tǒng)-資料下載頁(yè)

2025-01-11 23:46本頁(yè)面
  

【正文】 n tr bgcolor=greyth教師編號(hào) /thth教師姓名 /thth性別 /thth所屬院系/th th職稱(chēng) /thth身份證號(hào)碼 /th /tr %} }catch(Exception e){(輸入信息出錯(cuò),請(qǐng)正確輸入! )。}% % try{ while(()){ s=(tno)。 if((str[0])){% tr bgcolor=red td%=str[0]%/td td%=str[1]%/td td%=str[2]%/td td%=str[3]%/td td%=str[4]%/td td%=str[5]%/td /tr % }else{ % trtd%=(tno)%/td td%=(tname)%/td td%=(sex)%/td td%=(deptname)%/td td%=(title)%/td td%=(tid)%/td /tr % } % % } }catch(Exception e){} % /center % ()。 ()。 ()。 % /body /html 非法信息處理 教師信息刪除 教師含有開(kāi)課信息,選擇非級(jí)聯(lián)刪除 將 出現(xiàn)出錯(cuò)信息 級(jí)聯(lián)刪除 可以成功刪除 實(shí)現(xiàn)代碼 %@ page language=java contentType=text/html。charset=gb2312 % %@ page import=% %@ page import=.* % %@ page import=.* % html head meta equiv=contentType content=text/html。charset=gb2312 title后臺(tái)管理 /title /head body % (gb2312)。 % %! String dbDriver=。 String dbURL=jdbc: Connection conn = null。 Statement stmt= null。 String sql1 = null。 String sql2 = null。 String sql3 = null。 ResultSet rs = null。 String str[]=new String[3]。 String sql4=null。 String sql5=null。 int i,j。 % % try{ (dbDriver)。 conn=(jdbc:=sx。password=1234)。 stmt=(,NCUR_UPDATABLE)。 str[0]=(name)。 str[1]=(delmethod)。 sql1=select tno from teacher where tname=39。+str[0]+39。 rs=(sql1)。 while(()){ str[2]=(tno)。 } sql2=delete from tclass where tno=39。+str[2]+39。 sql3=delete from teacher where tno=39。+str[2]+39。 sql5=select tno,tname,sex,deptname,title,tid from teacher,department where =。 }catch(Exception e){(輸入信息出錯(cuò),請(qǐng)參照 以下教師信息正確輸入! )。}% % try{ if(str[1].equals(cascade)){ (sql2)。 j=(sql3)。 rs=(sql5)。 if(j0){ % centerfont size=5 color=red級(jí)聯(lián)刪除成功 !/font/center % }else{ % centerfont size=5 color=red該教師的信息不存在,請(qǐng)根據(jù)以下教師信息正確輸入 !/font/center % } % centertable border=2 caption教師信息 /caption tr bgcolor=greyth教師編號(hào) /thth教師姓名 /thth性別 /thth所屬院系/th th職稱(chēng) /thth身份證號(hào)碼 /th /tr % try{ while(()){% trtd%=(tno)%/td td%=(tname)%/td td%=(sex)%/td td%=(deptname)%/td td%=(title)%/td td%=(tid)%/td /tr % } % %}catch(Exception e){(輸入信息出錯(cuò),請(qǐng)正確輸入! )。}% %} else{ sql4=select * from tclass where tno=39。+str[2]+39。 rs=(sql4)。 if(()){ (該教師含有開(kāi)課信息,非級(jí)聯(lián)刪除方法不可以刪除該教師 信息! )。 } else{ i=(sql3)。 rs=(sql5)。 if(i0){ % centerfont size=5 color=red非級(jí)聯(lián)刪除成功 !/font/center % }else{ % centerfont size=5 color=red該教師的信息不存在,請(qǐng)根據(jù)以下教師信息正確輸入 !/font/center % } % centertable border=2 caption教師信息 /caption tr bgcolor=greyth教師編號(hào) /thth教師姓名 /thth性別 /thth所屬院系/th th職稱(chēng) /thth身份證號(hào)碼 /th /tr % try{ while(()){% trtd%=(tno)%/td td%=(tname)%/td td%=(sex)%/td td%=(deptname)%/td td%=(title)%/td td%=(tid)%/td /tr % } % %}catch(Exception e){}% %}% %}% %}catch(Exception e){(輸入信息出錯(cuò),請(qǐng)正確輸入! )。}% % ()。 ()。 ()。 % /body /html 其他功能的實(shí)現(xiàn)與上述基本相同,可以參照上述程序理解其他功能,基本囊括了數(shù)據(jù)庫(kù)中數(shù)據(jù)的查詢(xún),添加,刪除,修改。 三 實(shí)驗(yàn)體會(huì) 通過(guò)本次課程設(shè)計(jì),基本掌握了 web 設(shè)計(jì)中數(shù)據(jù)庫(kù)的連接和使用方法,以及一些對(duì)數(shù)據(jù)庫(kù)的操作,但是在實(shí)驗(yàn)中發(fā)現(xiàn),自己平時(shí) 在課堂上學(xué)到的數(shù)據(jù)庫(kù)知識(shí)還遠(yuǎn)遠(yuǎn)不足,還不能滿(mǎn)足做網(wǎng)頁(yè)的需要,以及一些經(jīng)常出錯(cuò)的地方,還需要認(rèn)真的去發(fā)現(xiàn),通過(guò)實(shí)踐讓自己有了更清楚的認(rèn)識(shí),為以后更深入的學(xué)習(xí)打下基礎(chǔ)。
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1