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

正文內(nèi)容

學(xué)生課程管理系統(tǒng)ppt課件-閱讀頁

2025-01-24 08:57本頁面
  

【正文】 。 colvalue=((TextBox)[4].Controls[0]).Text。 [Course_id].Value= [(int)]。 try { ( )。59第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 課程信息管理主頁面 =1。 [color]=red。 Bindgrid( )。 60第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 課程信息管理主頁面 SqlDataAdapter da=new SqlDataAdapter(strsql,)。 (ds)。 ( )。++39。++39。 DataSet ds=new DataSet( )。 =ds。 } } }62第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 成績管理頁面窗體如圖 ,該頁面完成的功能較多,包括按選定的條件進(jìn)行限定條件的成績查詢 圖 成績管理頁面 63第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 成績管理頁面的后臺(tái)支持類 ()的統(tǒng)計(jì)內(nèi)容的主要相關(guān)代碼,讀者可以重點(diǎn)參見 SQL語句來理解。 string strsql。 =new SqlConnection(strconn)。 Bindgrid( )。++39。++39。++39。 } 66第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else if(==優(yōu)秀人數(shù) ) { strsql=select AVG(Student_grade),MAX(Student_grade),COUNT(*) from student_course,student,class where Course_id=39。 and =39。and student_course. Student_id= and = and =39。and Student_grade=85。++39。++39。++39。 } 68第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else { strsql=select AVG(Student_grade),MAX(Student_grade) from student_course,student,class where Course_id=39。 and =39。and student_course. Student_id= and = and =39。 。++39。++39。++39。 } 70第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else if(==優(yōu)秀人數(shù) ) { strsql=select AVG(Student_grade),MAX(Student_grade),COUNT(*) from student_course,student,class where Course_id=39。 and =39。and student_course. Student_id= and = and =39。and Student_grade=85 。++39。++39。++39。 } 72第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else { strsql=select AVG(Student_grade),MAX(Student_grade) from student_course,student,class where Course_id=39。 and =39。and student_course. Student_id= and = and =39。 。++39。++39。++39。++39。++39。++39。 }75第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else if(==不及格人數(shù) ) { strsql=select AVG(Student_grade),MAX(Student_grade),COUNT(*) from student_course,student where Course_id=39。 and =39。 and student_course. Student_id= and = 39。and Student_grade60。++39。++39。++39。 ( )。 if(( )) { if(==均分 ) { =true。 }else if(==最高分 ) {78第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 =true。 } else if(==總?cè)藬?shù) ) { =true。 } else if(==優(yōu)秀人數(shù) ) { =true。 } 79第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 成績信息管理頁面 else if(==不及格人數(shù) ) { =true。 } else { =無此信息 。 } } } } 80第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 在圖 ,下拉列表框 Ddl_course和Ddl_teacher的數(shù)據(jù)在頁面初始化事件 Page_Load( )中進(jìn)行綁定,綁定內(nèi)容為數(shù)據(jù)庫中的所有課程和教師信息 圖 選課管理頁面 81第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 后臺(tái)支持類 (student )的主要相關(guān)代碼://程序清單 125 public class student_course : { SqlConnection 。 //連接本地計(jì)算機(jī)的 Student_Class數(shù)據(jù)庫 SqlConnection 0= new SqlConnection (strconn)。 string mysql=select * from teacher。 SqlDataReader dr0= ( )。 } ( )。 string mysql1=select * from course。 SqlDataReader dr1= ( )。 } ( )。 } private void Btn_student_Click(object sender, e) { Bindgrid( )。 SqlCommand cm=new SqlCommand(strsql,)。 85第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 [id].Value=[(int)emIndex]。 try { ( )。 } catch(SqlException) { =刪除失敗 。 } 86第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 ( )。 } public void Bindgrid( ) { string strsql=select , from student_course,student,teacher_course where = 39。 and = and = 87第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 39。and = and =。 DataSet ds=new DataSet( )。 =ds。 string strsq=select COUNT(*) from student_course,student,teacher_course 88第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選課管理頁面 =39。 and =39。and = and = 。 ( )。 if(( )) { =選課總?cè)藬?shù)為: +dr[0].ToString( )。 } ( )。 } } } 90第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生操作模塊 學(xué)生通過圖 ,首先進(jìn)入學(xué)生操作總控頁面,如圖 。圖 學(xué)生選修課瀏覽頁面92第第 12章2章 程序程序 設(shè)計(jì)實(shí)例設(shè)計(jì)實(shí)例 學(xué)生選修課瀏覽頁面 學(xué)生選課頁面后臺(tái)支持類 ()的主要相關(guān)代碼://程序清單 126 public class sortcourse : { SqlConnection 。 =new SqlConnection(strconn)。 ( )。239。 SqlDataReader dr1= ( )。 while( ( )) { .Add (new ListItem(dr1[Course_name]. ToString( ) ,dr1[Course_id].ToString( )) )。 strsql=select , ,e_men from course,teacher,teacher_course where =39。and = and =。 DataSet ds=new DataSet( )。 =ds。 } } private void Btn_sort_Click(object sender, e) { string strsq=select COUNT(Student_id) from student_course where Course_id=39。 SqlCommand cm1=new SqlComma
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1