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

正文內(nèi)容

學(xué)生信息管理系統(tǒng)完整源碼-資料下載頁(yè)

2025-05-13 22:11本頁(yè)面

【導(dǎo)讀】{ "error_code": 17, "error_msg": "Open api daily request limit reached" }

  

【正文】 ng) { String str = (String)obj。 return (courseID)。 } return false。 } public void actionPerformed(ActionEvent e){ courseID=()。 //獲取用戶輸入內(nèi)容 teachername=()。 int temp=0,flag1=0,flag2=0,flag3=0。 Connection con=null。 if(()==submit){ //判斷是否已輸入必填信息 if(() || ()){ (請(qǐng)輸入必填信息 )。 } else{ try{ String url=jdbc:odbc:SIMS。 //連接數(shù)據(jù)庫(kù) con=(url,)。 //獲取連接字符串 Statement stat=()。 ResultSet rs=(select Course_ID from Course)。 while(()){ if((1).equals(courseID)){ flag1=1。 //判斷課程 ID存在 break。 } } ResultSet rss=(select Tea_ID from Teacher_Info)。 while(()){ if((1).equals(teachername)){ flag2=1。 //判斷教師 ID存在 break。 } } if(flag1!=1){ (課程 ID 不存在 )。 }else if(flag2!=1){ (教師 ID 不存在 )。 } ResultSet rsss=(select Course_ID,Tea_ID from tc)。 while(()){ if((1).equals(courseID) amp。amp。 (2).equals(teachername)){ flag3=1。 (授課信息重復(fù) )。 } } if(flag1==1 amp。amp。 flag2==1 amp。amp。flag3!=1){ temp=(insert into TC(Course_ID,Tea_ID) values(39。+courseID+39。,39。+teachername+39。))。 } if(temp==1){ (ss,添加成功 )。 ()。 } else{ (ss,添加失敗 )。 } }catch(Exception ex){ ()。 } } }else if(()==reset){ ()。 ()。 ()。 } } private void centerShell(JFrame shell) //窗口在屏幕中間顯示 { //得到屏幕的寬度和高度 int screenHeight = ().getScreenSize().height。 int screenWidth = ().getScreenSize().width。 //得到 Shell 窗口的寬度和高度 int shellHeight = ().height。 int shellWidth = ().width。 //如果窗口大小超過屏幕大小,讓窗口與屏幕等大 if(shellHeight screenHeight) shellHeight = screenHeight。 if(shellWidth screenWidth) shellWidth = screenWidth。 //讓窗口在屏幕中間顯示 (((screenWidth shellWidth)/ 2),((screenHeight shellHeight)/2))。 } // public static void main(String args[]){ // new add_tc()。 // } } 6. 管理員界面 package SIMS。 import .*。 import .*。 import 。 import 。 import .*。 import .*。 import 。 public class admin extends JFrame implements ActionListener{ JTextArea theArea=null。 //創(chuàng)建菜單欄 JMenuBar MBar=new JMenuBar()。 JPanel panel=new JPanel()。 JLabel hello=new JLabel()。 JButton exit=new JButton(退 出 登 錄 )。 JMenu add=new JMenu(增加信息 )。 JMenu delete=new JMenu(刪除信息 )。 JMenu change=new JMenu(修改信息 )。 JMenu search=new JMenu(查詢信息 )。 JMenuItem add_teacher=new JMenuItem(教師信息 )。 //創(chuàng)建二級(jí)菜單 JMenuItem add_student=new JMenuItem(學(xué)生信息 )。 JMenuItem add_course=new JMenuItem(課程信息 )。 JMenuItem det_teacher=new JMenuItem(教師信息 )。 JMenuItem det_student=new JMenuItem(學(xué)生信息 )。 JMenuItem det_course=new JMenuItem(課程信息 )。 JMenuItem cha_teacher=new JMenuItem(教師密碼 )。 JMenuItem cha_student=new JMenuItem(學(xué)生密碼 )。 JMenuItem cha_course=new JMenuItem(課程信息 )。 JMenuItem sea_teacher=new JMenuItem(教師信息 )。 JMenuItem sea_student=new JMenuItem(學(xué)生信息 )。 JMenuItem sea_course=new JMenuItem(課程信息 )。 JMenuItem add_tc=new JMenuItem(授課信息 )。 public admin(String name){ (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (add_teacher)。 //添加二級(jí)菜單內(nèi)容 (add_student)。 (add_course)。 (add_tc)。 (det_teacher)。 (det_student)。 (det_course)。 (cha_teacher)。 (cha_student)。 (cha_course)。 (sea_teacher)。 (sea_student)。 (sea_course)。 (add)。 //將菜單添加至菜單欄 (delete)。 (change)。 (search)。 setJMenuBar(MBar)。 //添加菜單 (20,50,300,200)。 (220,160,140,20)。 (10,100,550,320)。 (new Font(,20))。 //設(shè)置提示字體 ()。 (歡迎管理員 \+name+\ 登錄 )。 //顯示登錄者身份提示 (hello)。 (exit)。 (panel)。 (this)。 //添加退出按鈕動(dòng)作監(jiān)聽器 (管理員 界面 )。 (null)。 (false)。 //設(shè)置窗體大小不可變 (600,400)。 //設(shè)置窗體大小 centerShell(this)。 //窗體在屏幕中間顯示 (true)。 //設(shè)置窗體可見 ()。 /* JTextArea theArea=new JTextArea()。 //添加文本顯示區(qū)域 (true)。 getContentPane().setLayout(new BorderLayout())。 getContentPane().add(new JScrollPane(theArea),)。 */ } public void actionPerformed(ActionEvent e){ //動(dòng)作監(jiān)聽事件 if(()==add_teacher){ new add_teacher()。 }else if(()==add_student){ new add_student()。 }else if(()==exit){ ()。 new login()。 }else if(()==add_course){ new add_course()。 }else if(()==det_teacher){ new det_teacher()。 }else if(()==det_student){ new det_student()。 }else if(()==det_course){ new det_course()。 }else if(()==cha_teacher){ new cha_teacher()。 }else if(()==cha_student){ new cha_student()。 }else if(()==cha_course){ new cha_course()。 }else if(()==sea_teacher){ new sea_teacher()。 }else if(()==sea_student){ new sea_student()。 }else if(()==sea_course){ new sea_course()。 }else if(()==add_tc){ new add_tc()。 } } private void centerShell(JFrame shell) //窗口在屏幕中間顯示 {
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1