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

正文內(nèi)容

軟件工程學生信息管理系統(tǒng)課程設(shè)計報告-資料下載頁

2025-05-14 00:34本頁面

【導讀】專業(yè)班級:計算機101班

  

【正文】 catch (Exception ee) {} } else if(()==重置 ) { clearMess()。 } } public void clearMess(){ 學號 .setText(null)。 姓名 .setText(null)。 年齡 .setText(null)。 籍貫 .setText(null)。 班級 .setText(null)。 學院 .setSelectedItem(null)。 專業(yè) .setSelectedItem(null)。 電話 .setText(null)。 選擇照片 .setText(選擇 )。 imagePic=null。 (imagePic)。 ()。 } public void upDate(){ 學院 .removeAllItems()。 try { . . ()。 con=(jdbc:ent,root,123)。 sql=()。 rs=(SELECT * FROM xueyuan_info)。 while (()) { String inOne=(學院 )。 String s=inOne。 if(s!=null){ 學院 .addItem(s)。 } } } catch (Exception e) { ()。 } 專業(yè) .removeAllItems()。 try { ()。 con=(jdbc:ent,root,123)。 sql=()。 rs=(SELECT * FROM zhuanye_info)。 while (()) { String inOne=(專業(yè) )。 String s=inOne。 if(s!=null){ 專業(yè) .addItem(s)。 } } } catch (Exception e) { ()。 } } public void addNew() throws Exception{ try { ()。 . . } catch(ClassNotFoundException e) { (+e)。 } try{ con=(jdbc:ent,root,123)。 sql=()。 String s1=39。+學號 .getText().trim()+39。, s2=39。+姓名 .getText().trim()+39。, s3=39。+年齡 .getText().trim()+39。, s4=39。+籍貫 .getText().trim()+39。, s5=39。+班級 .getText().trim()+39。, s6=39。+電話 .getText().trim()+39。 String s7=39。+專業(yè) .getSelectedItem()+39。 String s8=39。+學院 .getSelectedItem()+39。 String sex。 if(男 .isSelected()) sex=男 .getText()。 else sex=女 .getText()。 String t=(+s1+,+s2+,+39。+sex+39。+,+s3+,+s4+,+s5+,+s6+,+s7+,+s8+)。 String temp=INSERT INTO student_info VALUES +t。 (temp)。 學號 .setText(null)。 姓名 .setText(null)。 年齡 .setText(null)。 籍貫 .setText(null)。 班級 .setText(null)。 電話 .setText(null)。 ()。 } . . catch (Exception e) {} } 2) 用戶點擊修改學生信息按鈕,實現(xiàn)代碼下: public void actionPerformed(ActionEvent e) { if(()==選擇照片 ){ JFileChooser chooser=new JFileChooser()。 FileNameExtensionFilter filter = new FileNameExtensionFilter( JPG amp。 GIF Images, jpg, gif)。 (filter)。 int state=(null)。 File choiceFile=()。 if(choiceFile!=nullamp。amp。state==){ 選擇照片 .setText(())。 imagePic=choiceFile。 (imagePic)。 ()。 } } else if (()==查詢 ) { try { query()。} catch (Exception ee) {()。} } else if (()==開始修改 ) { try { modify()。} catch (Exception ee) {()。} } else if(()==重置 ) { 學號 (null)。 . . 姓名 (null)。 年齡 (null)。 籍貫 (null)。 班級 (null)。 電話 (null)。 } } public void query() throws Exception { try { ()。 } catch(ClassNotFoundException e) { (+e)。 } try { ct=(jdbc:/student,root,123)。 sql=()。 rs=(SELECT * FROM student_info)。 while(()){ String 學號 =(學號 )。 String 姓名 =(姓名 )。 String 性別 =(性別 )。 int 年齡 =(年齡 )。 String 籍貫 =(籍貫 )。 String 班級 =(班級 )。 String 電話 =(電話 )。 if(學號 .trim().equals(學號 ().trim())){ 姓名 (+姓名 )。 年齡 (+年齡 )。 籍貫 (+籍貫 )。 班級 (+班級 )。 電話 (+電話 )。 . . if(性別 .trim().equals(男 )){ 男 .setSelected(true)。 } else{ 女 .setSelected(true)。} search_record=1。 break。 } } ()。 } catch(Exception e2) { (e2)。 } if(search_record==0) { String warning=該學號不存在 !。 (this,warning, 警告,)。 } } public void modify() throws Exception{ try { ()。 } catch(ClassNotFoundException e) { (+e)。 } try{ ct=(jdbc:nt,root,123)。 sql=()。 rs=(SELECT * FROM student_info)。 String s1=39。+學號 ().trim()+39。, s2=39。+姓名 ().trim()+39。, s3=39。+年齡 ().trim()+39。, . . s4=39。+籍貫 ().trim()+39。, s5=39。+班級 ().trim()+39。, s6=39。+電話 ().trim()+39。, s9=39。+專業(yè) ()+39。, s10=39。+學院 ()+39。 String sex。 if(男 .isSelected()) sex=男 .getText().trim()。 else sex=女 .getText().trim()。 String temp1= UPDATE student_info SET 姓名 =+s2+ WHERE 學號 =+s1。 String temp6=UPDATE student_info SET 性別 =+39。+sex+39。+ WHERE 學號 = +s1。 String temp=UPDATE student_info SET 年齡 =+s3+ WHERE 學號 = +s1。 String temp2=UPDATE student_info SET 籍貫 =+s4+ WHERE 學號 = +s1。 String temp3=UPDATE student_info SET 班級 =+s5+ WHERE 學號 = +s1。 String temp7=UPDATE student_info SET 專業(yè) =+s9+ WHERE 學號 = +s1。 String temp8=UPDATE student_info SET 學院 =+s10+ WHERE 學號 = +s1。 String temp4=UPDATE student_info SET 電話 =+s6+ WHERE 學號 = +s1。 (temp1)。 (temp6)。 (temp)。 (temp2)。 (temp3)。 (temp7)。 (temp8)。 (temp4)。 學號 (null)。 . . 姓名 (null)。 年齡 (null)。 籍貫 (null)。 班級 (null)。 電話 (null)。 search_record=1。 ()。 ()。 ()。 } catch (Exception e) { ()。 } if(search
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1