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

正文內(nèi)容

學(xué)生學(xué)籍管理系統(tǒng)本科(編輯修改稿)

2025-06-18 22:10 本頁面
 

【文章內(nèi)容簡介】 。+()+39。,39。+()+39。,39。+()+39。,39。+()+39。,39。+()+39。,+()。 if (()!=) { sql1=sql1+,remark。 sql2=sql2+,39。+()+39。 } if (!=null) { 19 sql1=sql1+,Photo。 sql2=sql2+,?。 Byte[] bytBLOBData=getphoto()。 (new OleDbParameter(jpeg,ParameterDirectio,true,0,0,null,bytBLOBData))。 } sql=sql1+) +sql2+)。 =sql。 ()。 MessageBox(0,學(xué)167。生Θ ?信 ? ?加232。成227。功 |, ?示 ?,0)。 } } } private void tjxs_Load(object sender, e) { ()。 OleDbDataAdapter adp=new OleDbDataAdapter(select specialtyname from specialtyinfo,oleDbConnection1)。 DataSet ds=new DataSet()。 (ds,specialty)。 =specialtyname。 =specialtyname。 =[0].DefaultView。 } 20 private void boBox3_SelectedIndexChanged(object sender, e) { if (()!=) { OleDbDataAdapter adp=new OleDbDataAdapter(select classid,classname from classinfo where specialtyname=39。+()+39。,oleDbConnection1)。 DataSet ds=new DataSet()。 (ds,class)。 =classname。 =classid。 =[0].DefaultView。 } } private void button2_Click(object sender, e) { ()。 } private void tjxs_Closed(object sender, e) { ()。 } private void pictureBox1_Click(object sender, e) { =bmp|*.bmp|gif|*.gif|jpg|*jpg|jpeg|*.jpeg|ico|*.i21 co。 ()。 if (!=) =()。 } } 學(xué)生變動 學(xué)生在成功登錄系統(tǒng)后,點(diǎn)擊“學(xué)生變動”可進(jìn)行修改學(xué)生信息管理,出現(xiàn)如下所示的窗體 在這個(gè)窗體中放置了 7個(gè)文本框,用來輸入學(xué)號、姓名、聯(lián)系方式、民族、家庭住址、郵政編碼和備注。 4個(gè)下拉菜單用來選擇性別 、政治面貌、專業(yè)和班級。 兩了按鈕用來確定是否修改學(xué)生信息。代碼如下: private void ModifyStudent_Load(object sender, e) 22 { //=()。 ()。 OleDbDataAdapter adp=new OleDbDataAdapter(select SpecialtyName from SpecialtyInfo,oleDbConnection1)。 DataSet ds=new DataSet()。 (ds,specialty)。 =SpecialtyName。 =SpecialtyName。 =[0].DefaultView。 =()。 ()。 ()。 string sql=select photo from StudentInfo where StudentId=+()。 OleDbCommand cmd=new OleDbCommand(sql,oleDbConnection1)。 if (!=()) =(new MemoryStream((Byte[])()))。 } private void boBox3_SelectedIndexChanged(object sender, e) { if (()!=) { OleDbDataAdapter adp=new OleDbDataAdapter(select ClassId,ClassName from ClassInfo where SpecialtyName=39。+()+39。,oleDbConnection1)。 23 DataSet ds=new DataSet()。 (ds,Class)。 =ClassName。 =ClassId。 =[0].DefaultView。 =()。 } } private Byte[] getphoto(string photopath) { string str=photopath。 FileStream file = new FileStream(str, )。 Byte[] bytBLOBData = new Byte[]。 (bytBLOBData, 0, )。 ()。 return bytBLOBData。 } private void button1_Click(object sender, e) { if (()== || ()== || ()== || ()== || ()== || ()== || ()== || ()== || ()==) (請 ?填 ? ?整 ?的 ?學(xué)167。生Θ ?信 ?息¢ , ?示 ?)。 else 24 { string sql。 sql=select * from StudentInfo where StudentNumber=39。+()+39。 and StudentId+().Trim()。 OleDbCommand cmd=new OleDbCommand(sql,oleDbConnection1)。 if (null!=()) (學(xué)167。生Θ ?學(xué)167。號 ?重 ?復(fù)′ , ?示 ?)。 else { sql=update StudentInfo set StudentNumber=39。+()+39。,Name=39。+()+39。,Sex=39。+()+39。,Race=39。+()+39。,Address=39。+()+39。,Telephone=39。+()+39。,Role=39。+()+39。,PostalCode=39。+()+39。,ClassId=+()。 if (()!=) sql=sql+,Remark=39。+()+39。 if (!=) { sql=sql+,Photo=?。 Byte[] bytBLOBData=getphoto()。 (new OleDbParameter(jpeg,ParameterDirectio,true,0,0,null,bytBLOBData))。 } sql=sql+ where StudentId=+().Trim()。 =sql。 ()。 25 (學(xué)167。生Θ ?信 ?息¢修 T改 ?成227。功 |, ?示 ?)。 } } } private void pictureBox1_Click(object sender, e) { =bmp|*.bmp|gif|*.gif|jpg|*jpg|jpeg|*.jpeg|ico|*.ico。 ()。 if (!=) =()。 } } 教學(xué)計(jì)劃管理的創(chuàng)建 教學(xué)計(jì)劃管理模塊主要實(shí)現(xiàn)如下功能: ● 添加課程信息 ● 課程信息瀏覽 /修改課程信息 添加課程信息 在成功登錄系統(tǒng)后,點(diǎn)擊添加課程信息,出現(xiàn)如下所示窗體 : 26 在窗體上放置兩個(gè)文本框和 三個(gè) 下拉式文本框,將它們的信息輸入用來添加課程信息。兩個(gè)按鈕用來確定是否添加課程信息。具體代碼如下: public bool strisyear(string s) { if (().Length!=4) return (false)。 else { int n=1。 for (int i=0。i=。i++) { if (!(s[i])) { n=1。 break。 } } if (n==1) return (true)。 else return (false)。 27 } } private void AddCourse_Load(object sender, e) { try { ()。 string sql=select specialtyid,specialtyname from specialtyinfo。 OleDbDataAdapter adp=new OleDbDataAdapter(sql,oleDbConnection1)。 DataSet ds=new DataSet()。 (ds,specialtyinfo)。 =[specialtyinfo].DefaultView。 =specialtyname。 =specialtyid。 =().Trim()。 } catch (Exception ee) { ()。 } } private void textBox2_TextChanged(object sender, e) { 28 if (()!= amp。amp。 ().Length==4 amp。amp。 strisyear(())) { string sql=select classid,classname from classinfo where specialtyname=39。+()+39。 and year(enrolmenttime)=+()。 OleDbDataAdapter adp=new OleDbDataAdapter(sql,oleDbConnection1)。 DataSet ds=new DataSet()。 ()。 (ds,classinfo)。 if ([classinfo].!=0) { =classname。 =classid。 =[0].DefaultView。 } else =null。 } else =null。 } private void boBox2_TextChanged(object sender, e) { =。 } private void button1_Click(object sender, e) 29 { if (()== || ()== || ()==) (請 ?正 y確ā ?選 ?擇 ?班悒 ?級 ?、¢學(xué)167。期以 ?及169。填 ?寫′課 ?程229。名 ?稱 ?, ?示 ?)。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1