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

正文內(nèi)容

用csharp語言和sql設(shè)計(jì)簡(jiǎn)單教務(wù)管理系統(tǒng)-資料下載頁

2025-08-08 02:13本頁面
  

【正文】 ()。 ()。 (修改密碼成功!)。 } else (您輸入的新密碼不對(duì),請(qǐng)重新輸入!)。 } else (原密碼輸入有誤,無法修改密碼)。 } private void button2_Click(object sender, EventArgs e) { ()。 } }}(3) 選課界面 sc1)窗體截圖 圖33 學(xué)生選課界面2) 代碼using System。using 。using 。using 。using 。using 。using 。using 。using 。namespace ConsoleApplication2{ public partial class sc : Form { public string username = 。 string str =@Data Source = .\sqlexpress。Initial Catalog = EducationManageSystem。User ID=sa。Password=123456。 SqlConnection conn = new SqlConnection()。 SqlCommand cmd = new SqlCommand()。 public sc() { InitializeComponent()。 } private void sc_Load(object sender, EventArgs e) { = str。 = conn。 string sql = select * from course。 = sql。 SqlDataAdapter da = new SqlDataAdapter(sql, conn)。 DataSet ds = new DataSet()。 ()。 (ds)。 ()。 = [0].DefaultView。 } private void button1_Click(object sender, EventArgs e) { string o =[0].()。 = str。 string sql。 = conn。 sql = exec sc 39。 + username + 39。,39。 + o + 39。 = sql。 ()。 ()。 ()。 (選課成功!)。 } private void button2_Click(object sender, EventArgs e) { ()。 } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { } }}(八)教師功能部分(1)登錄成功后界面 teacherform1)窗體截圖 圖34 教師登錄后界面2)代碼using System。using 。using 。using 。using 。using 。using 。using 。using 。namespace ConsoleApplication2{ public partial class teacherform : Form { public int type = 1。 public string username = 。 public string psd = 。 string str =@Data Source = .\sqlexpress。Initial Catalog = EducationManageSystem。User ID=sa。Password=123456。 SqlConnection conn = new SqlConnection()。 SqlCommand cmd = new SqlCommand()。 public teacherform() { InitializeComponent()。 } private void teacherform_Load(object sender, EventArgs e) { = str。 string sql。 = conn。 //顯示個(gè)人信息 ()。 sql = exec teacher_info 39。 + username + 39。 = sql。 SqlDataReader dr = ()。 if (() == true) { = dr[2].ToString()。 = dr[0].ToString()。 = dr[3].ToString()。 = dr[5].ToString()。 = dr[8].ToString()。 } ()。 ()。 } private void button1_Click(object sender, EventArgs e) { tpsdmodify psdform = new tpsdmodify()。 = username。 = psd。 ()。 } private void button2_Click(object sender, EventArgs e) { = str。 string sql。 = conn。 sql = exec teacher_update 39。 + username + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。 = sql。 ()。 ()。 ()。 (個(gè)人信息修改成功!)。 } private void button3_Click(object sender, EventArgs e) { gradeinput gradeform = new gradeinput()。 = username。 ()。 } private void button4_Click(object sender, EventArgs e) { ()。 } }}(2)密碼修改界面 tpsdmodify1)窗體截圖 圖35 教師密碼修改界面2) 代碼using System。using 。using 。using 。using 。using 。using 。using 。using 。namespace ConsoleApplication2{ public partial class tpsdmodify : Form { public int type = 1。 public string username = 。 public string password = 。 string str =@Data Source = .\sqlexpress。Initial Catalog = EducationManageSystem。User ID=sa。Password=123456。 SqlConnection conn = new SqlConnection()。 public tpsdmodify() { InitializeComponent()。 } private void button1_Click(object sender, EventArgs e) { if (password == ) { if ( == ) { = str。 string sql = exec tpsdmodify 39。 + + 39。,39。 + username + 39。 SqlCommand cmd = new SqlCommand(sql, conn)。 ()。 ()。 ()。 (修改密碼成功!)。 } else (您輸入的新密碼不對(duì),請(qǐng)重新輸入!)。 } else (原密碼輸入有誤,無法修改密碼)。 } private void button2_Click(object sender, EventArgs e) { ()。 } }}(3)輸入學(xué)生成績(jī)界面 gradeinput 1) 窗體截圖 圖36 成績(jī)輸入界面2) 代碼using System。using 。using 。using 。using 。using 。using 。using 。using 。namespace ConsoleApplication2{ public partial class gradeinput : Form { private BindingSource bindingSource = new BindingSource()。 teach std = new teach ()。 public string username = 。 string str = @Data Source = .\sqlexpress。Initial Catalog = EducationManageSystem。User ID=sa。Password=123456。 SqlConnection conn = new SqlConnection()。 SqlCommand cmd = new SqlCommand()。 public gradeinput() { InitializeComponent()。 Dat
點(diǎn)擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1