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

正文內(nèi)容

學(xué)生成績(jī)分析與管理系統(tǒng)項(xiàng)目設(shè)計(jì)方案-資料下載頁(yè)

2025-04-27 02:44本頁(yè)面
  

【正文】 z0[i] = z[i]。 } times++。 } int[] result = new int[k]。 for (int i = 0。 i k。 i++) { for (int j = 0。 j total。 j++) { if (type[j] == i) { result[i]++。 } } } return result。 } }學(xué)生成績(jī)錄入中的部分代碼:using System。using 。using 。using 。using 。using 。using 。using 。using 。using 。using 。public partial class _Default : { public static string ConnectString = user id=sa。password=123。initial catalog=Student。Server=localhost。 string temp_test。 string temp_class。 protected void Button1_Click(object sender, EventArgs e) { string test_no=。 switch (test_no) { case 第一次: temp_test = TestPaper_One。 break。 case 第二次: temp_test = TestPaper_Two。 break。 case 第三次: temp_test = TestPaper_Three。 break。 case 第四次: temp_test = TestPaper_Four。 break。 default: ( script alert(39。請(qǐng)選擇插入第幾次考試成績(jī)!39。) /script )。 break。 } string stu_class = 。 //班級(jí) switch (stu_class) { case 一年級(jí)一班: temp_class = 0101。 break。 case 一年級(jí)二班: temp_class = 0102。 break。 case 二年級(jí)一班: temp_class = 0201。 break。 case 二年級(jí)二班: temp_class = 0202。 break。 default: ( script alert(39。班級(jí)不能為空!39。) /script )。 break。 } if ( == ) //學(xué)號(hào) { ( script alert(39。學(xué)號(hào)不能為空!39。) /script )。 } if ( != 10) { ( script alert(39。請(qǐng)輸入正確的學(xué)號(hào)!39。) /script )。 } if ( == 10)//學(xué)號(hào)的格式正確 { string no = judge_insert()。 if ( 10) { insert_score()。 } else { ( script alert(39。此學(xué)生的成績(jī)已經(jīng)錄入!39。) /script )。 } } = 。 = 。 = 。 = 。 } public string judge_insert() { string temp。 string sql=select Stu_No from +temp_test+ where Stu_No=+。 SqlConnection myConnection = new SqlConnection(ConnectString)。 SqlCommand myCommand = new SqlCommand(sql, myConnection)。 ()。 SqlDataReader Dr。 Dr = ()。//只取得一條記錄 try { ()。 temp = Dr[0].ToString()。 return temp。 } catch (Exception err) { return ()。 } finally { ()。 ()。 } } public void insert_score() { string sql_str。 sql_str = insert into +temp_test+ values(@no,@stu_class,@chinese,@math)。 SqlConnection myConnection = new SqlConnection(ConnectString)。 SqlCommand myCommand = new SqlCommand()。 if ( != amp。amp。 != ) { try { ()。 = myConnection。 = sql_str。 (@no, )。 [@no].Value = 。 (@stu_class, )。 [@stu_class].Value = temp_class。 (@chinese, )。 [@chinese].Value = ()。 (@math, )。 [@math].Value = ()。 ()。 //有錯(cuò)誤 ( script alert(學(xué)生成績(jī)錄入成功!39。) /script )。 } catch (Exception err) { throw err。 } finally { ()。 ()。 ()。 } } else { if ( == ) { ( script alert(39。語(yǔ)文成績(jī)不能為空!39。) /script )。 } if ( == ) { ( script alert(39。數(shù)學(xué)成績(jī)不能為空!39。) /script )。 } } }}37
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1