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

正文內(nèi)容

用c編寫的學(xué)生成績(jī)管理系統(tǒng)報(bào)告(編輯修改稿)

2025-01-20 09:06 本頁面
 

【文章內(nèi)容簡(jiǎn)介】 ntArgs e) { string str = Password=123456789。Persist Security Info=True。User ID=sa。Initial Catalog=學(xué)生成績(jī)管理系統(tǒng) 。Data Source=FLQPC\\SQLEXPRESS。 SqlConnection conn = new SqlConnection(str)。 ()。 if ( != ) { (請(qǐng)確認(rèn)信密碼的正確性! )。 } if ( ==amp。amp。 == ) { (密碼不允許為空! )。 } if ( == amp。amp。 != ) { SqlCommand = new SqlCommand(update 用戶登錄 set 密碼 =39。 + () + 39。where 用戶名 =39。 + () + 39。, conn)。 if (() == 1) { (密碼修改成功! )。 = false。 } } ()。 ()。 } private void toolStripButton5_Click(object sender, EventArgs e) { ()。 Login l = new Login()。 = true。//______________________????、 } private void toolStripButton6_Click(object sender, EventArgs e) { // string str = Password=123456789。Persist Security Info=True。User ID=sa。Initial Catalog=學(xué)生成績(jī)管理系統(tǒng) 。Data Source=FLQPC\\SQLEXPRESS。 // SqlConnection conn = new SqlConnection(str)。 // ()。 // SqlDataAdapter da = new SqlDataAdapter(Select * from 學(xué)生成績(jī)表 where 姓名 =39。 + () + 39。, conn)。 //DataSet ds = new DataSet()。 // (ds, usertable)。 // string s。 // for (int i = 2。 i = 6。 i++) // { // if (([usertable].Rows[0][i].ToString()) 60) // s=([usertable].Rows[0][i].ToString())。 12 // } } private void groupBox2_Enter(object sender, EventArgs e) { } private void toolStripButton3_Click(object sender, EventArgs e) { = true 。 string str = Password=123456789。Persist Security Info=True。User ID=sa。Initial Catalog=學(xué)生成績(jī)管理系統(tǒng) 。Data Source=FLQPC\\SQLEXPRESS。 SqlConnection conn = new SqlConnection(str)。 ()。 SqlDataAdapter da = new SqlDataAdapter(Select * from 學(xué)生成績(jī)表 where 姓名 =39。 + () + 39。, conn)。 DataSet ds = new DataSet()。 (ds, usertable)。 int max=0,min=1001。 double ave=。 for (int i = 2。 i = 6。 i++) { if (([usertable].Rows[0][i].ToString()) max) max = ([usertable].Rows[0][i].ToString ())。 if (([usertable].Rows[0][i].ToString ())min) min =([usertable].Rows[0][i].ToString())。 } = ()。 = ()。 =[usertable].Rows[0][總分 ].ToString ()。 ave = ([usertable].Rows[0][總分 ].ToString())/(double)5。 = ()。 ()。 ()。 } private void timer1_Tick(object sender, EventArgs e) { = 當(dāng)前時(shí)間為: + () + ()。 } } } 13 教師管理界面 圖 設(shè)計(jì)過程: 此部分主要針對(duì)教師信息管理,可以查詢學(xué)生的所有成績(jī)信息,實(shí)現(xiàn)成績(jī)的添加、刪除、 修改、成績(jī)升序排序等功能。還可以修改當(dāng)前用戶下的密碼。 設(shè)計(jì)代碼: using System。 using 。 using 。 using 。 using 。 14 using 。 using 。 using 。 namespace 學(xué)生成績(jī)管理系統(tǒng) { public partial class Form3 : Form { public Form3() { InitializeComponent()。 } private void Form3_Load(object sender, EventArgs e) { = + 老師,歡迎使用本成績(jī)管理系統(tǒng)! 。 = 。 = false。 //————————————————————————————————————————— 修改密碼的框 ()。 //string str = Password=123456789。Persist Security Info=True。User ID=sa。Initial Catalog=學(xué)生成績(jī)管理系統(tǒng) 。Data Source=FLQPC\\SQLEXPRESS。 //SqlConnection conn = new SqlConnection(str)。 //()。 //SqlDataAdapter da = new SqlDataAdapter(Select * from 學(xué)生成績(jī)表 , conn)。 //DataSet ds = new DataSet()。 //(ds, chaxun)。 // = [chaxun].DefaultView。 } private void button1_Click_1(object sender, EventArgs e) //—————————————————————————————— 查找框 { string str = Password=123456789。Persist Security Info=True。User ID=sa。Initial Catalog=學(xué)生成績(jī)管理系統(tǒng) 。Data Source=FLQPC\\SQLEXPRESS。 SqlConnection conn = new SqlConnection(str)。 ()。 if ( == 學(xué)號(hào) ) { SqlCommand cm = new SqlCommand(Select 學(xué)號(hào) ,姓名 , + + from 學(xué)生成績(jī)表 where 學(xué)號(hào) =39。 + + 39。, conn)。 if (() == null) { (查無此人! )。 } else { SqlDataAdapter da = new SqlDataAdapter(Select 學(xué)號(hào) ,姓名 , + + from 學(xué)生成績(jī)表 where 學(xué)號(hào) =39。 + + 39。, conn)。
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1