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

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告-宿舍信息管理系統(tǒng)(方超)(編輯修改稿)

2024-09-16 16:52 本頁面
 

【文章內(nèi)容簡介】 ew Vector()。 try{ Statement statement=()。 ResultSet rs=(select * from Room where RNo=+\39。+r+\39。+or RHeader=+\39。+r+\39。+or ROne=+\39。+r+\39。+or RTwo=+\39。+r+\39。 +or RThree=+\39。+r+\39。)。 while(()) { String Rno=(RNo)。 (Rno)。 String header=(RHeader)。 (header)。 String one=(ROne)。 (one)。 String two=(RTwo)。 (two)。 String three=(RThree)。 (three)。 String depart=(RDepart)。 (depart)。 String pro=(RProfess)。 (pro)。 String dorNo=(DorNo)。 (dorNo)。 } }catch(SQLException e){(e)。} return vc。 } /* 查找全部寢室基本信息*/ Vector select_all_Room() { Vector vc=new Vector()。 try{ Statement statement=()。 ResultSet rs=(select * from Room )。 while(()) { String Rno=(RNo)。 (Rno)。 String header=(RHeader)。 (header)。 String one=(ROne)。 (one)。 String two=(RTwo)。 (two)。 String three=(RThree)。 (three)。 String depart=(RDepart)。 (depart)。 String pro=(RProfess)。 (pro)。 String dorNo=(DorNo)。 (dorNo)。 } }catch(SQLException e){(e)。} return vc。 } /*查找宿舍樓物品出入基本信息*/ Vector select_Artical(String a) { Vector vc=new Vector()。 try{ Statement statement=()。 ResultSet rs=(select * from ArticalInOut where StuNo=\39。+a+\39。)。 while(()) { String s1=(StuNo)。 (s1)。 String s2=(AIOArtical)。 (s2)。 String s3=(AIOPrin)。 (s3)。 String s4=(AIODate)。 (s4)。 String s5=(AIONo)。 (s5)。 String s6=(DorNo)。 (s6)。 } }catch(SQLException e){(e)。} return vc。 } /*查找全部宿舍樓物品出入基本信息*/ Vector select_all_Artical() { Vector vc=new Vector()。 try{ Statement statement=()。 ResultSet rs=(select * from ArticalInOut )。 while(()) { String s1=(StuNo)。 (s1)。 String s2=(AIOArtical)。 (s2)。 String s3=(AIOPrin)。 (s3)。 String s4=(AIODate)。 (s4)。 String s5=(AIONo)。 (s5)。 String s6=(DorNo)。 (s6)。 } }catch(SQLException e){(e)。} return vc。 } /* 插入宿舍樓信息*/ Vector insert_Dor(int Dorno,String DorPhNo,String DorAdminist ,String DorSex) { Vector vc=new Vector()。 try{ sql6=(insert into Dormitory values(?,?,?,?))。 (1,Dorno)。 (2,DorPhNo)。 (3,DorAdminist)。 (4,DorSex)。 ()。 }catch(SQLException e){(e)。} return vc。 } /* 插入樓棟管理員基本信息*/ Vector insert_Worker(String worno,String worname,String wortype,String worwage,String worsex,String worphno,String wortime,String dorno) { Vector vc=new Vector()。 try{ sql7=(insert into Worker values(?,?,?,?,?,?,?,?))。 (1,worno)。 (2,worname)。 (3,wortype)。 (4,worwage)。 (5,worsex)。 (6,worphno)。 (7,wortime)。 (8,dorno)。 ()。 }catch(SQLException e){(e)。} return vc。 } /* 插入學(xué)生基本信息*/ Vector insert_Student(String stuno,String studep,String stuname,String stusex,String stuhome,String stuborth,String stuetime,String stuprofess,String stuclass,String rno,String dorno) { Vector vc=new Vector()。 try{ sql8=(insert into Student values(?,?,?,?,?,?,?,?,?,?,?))。 (1,stuno)。 (2,studep)。 (3,stuname)。 (4,stusex)。 (5,stuhome)。 (6,stuborth)。 (7,stuetime)。 (8,stuprofess)。 (9,stuclass)。 (10,rno)。 (11,dorno)。 ()。 }catch(SQLException e){(e)。} return vc。 } /* 插入寢室基本信息*/ Vector insert_Room(String rno,String rheader,String rone,String rtwo,String rthree,String rdepart,String rprofess,String dorno) { Vector vc=new Vector()。 try{ sql9=(insert into Room values(?,?,?,?,?,?,?,?))。 (1,rno)。 (2,rheader)。 (3,rone)。 (4,rtwo)。 (5,rthree)。 (6,rdepart)。 (7,rprofess)。 (8,dorno)。 ()。 }catch(SQLException e){(e)。} return vc。 } /* 插入宿舍樓物品出入基本信息*/ Vector insert_ArticalInOut(String stuno,String aioartical,String aioprin,String aiodate,String aiono,String dorno) { Vector vc=new Vector()。 try{ sql10=(insert into Room values(?,?,?,?,?,?))。 (1, stuno)。 (2,aioartical)。 (3,aioprin)。 (4,aiodate)。 (5,aiono)。 (6,dorno)。 ()。 }catch(SQLException e){(e)。} return vc。 } /* 修改宿舍樓信息*/ Vector update_Dor(String a) { Vector vc=new Vector()。 try{ sql7=(insert)。 }catch(SQLException e){(e)。} return vc。 } /*刪除寢室人員信息*/ Vector delete_Room(String r) { Vector vc=new Vector()。 try{ sql11=(delete from Room where RHeader=+39。+r+39。+or ROne=+39。+r+39。+or RTwo=+39。+r+39。 +or RThree=+39。+r+39。)。 ()。 }catch(SQLException e){(e)。} return vc。 } /*刪除學(xué)生信息*/ Vector delete_Student(String s) { Vector vc=new Vector()。 try{ sql12=(delete from Student where StuNo=+39。+s+39。)。 ()。 }catch(SQLException e){(e)。} return vc。 } /*刪除樓棟管理員信息*/ Vector delete_Worker(String w) { Vector vc=new Vector()。 try{ sql13=(delete from Worker where WorNo=+39。+w+39。)。 ()。 }catch(SQLException e){(e)。} return vc。 } /*刪除出入物品信息*/ Vector delete_ArticalInOut(String a) { Vector vc=new Vector()。 try{ sql13=(delete from ArticalInOut where AIONo=+39。+a+39。)。 ()。 }catch(SQLException e){(e)。} return vc。 } void closeDB() throws SQLException { try{ ()。 }catch(SQLException e){} } //public static void main(String args[]) throws SQLException{ // DBconnect1 db=new DBconnect1()。 // ()。 //}}/*查找宿舍樓信息界面*/class table_d{ DBconnect1 sd=new DBconnect1()。 JFrame f=new JFrame()。 public table_d(int DorNo){ Vector data=(DorNo)。 int index=0。 String tabledata[][]=new String[()/4][4]。 for(int i=0。i()/4。i++) { for(int j=0。j4。j++) { tabledata[i][j]=(String)(index++)。 } } String names[]={宿舍樓號(hào),電話,樓管員,宿舍性別}。 JTable table=new JTable(tabledata,names)。 JScrollPane scrollpane=new JScrol
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1