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

正文內(nèi)容

使用c和sql語言設(shè)計簡單教務(wù)管理系統(tǒng)-文庫吧資料

2025-01-28 22:06本頁面
  

【正文】 PROCEDURE teacher_info tno char(8) AS select * from teacher where tno=tno 修改教師個人信息 teacher_update CREATE PROCEDURE teacher_update tno char(8),sex char(20),pro varchar(10),dep varchar(20) AS update teacher set sex=sex,pro=pro,dep=dep where tno=tno 4) 程序代碼 using 。 (選課成功! )。 ()。 = sql。,39。 sql = exec sc 39。 string sql。 } private void button1_Click(object sender, EventArgs e) { string o=[0].()。 ()。 conn .Open ()。 SqlDataAdapter da = new SqlDataAdapter(sql, conn)。 string sql = select * from course。 private void sc_Load(object sender, EventArgs e) { = str。 SqlConnection conn = new SqlConnection()。Initial Catalog=Student。 namespace stu_inf_adm_system { public partial class sc : Form { public string username = 。 } private void button2_Click(object sender, EventArgs e) { ()。 } else (您輸入的新密碼不對,請重新輸入! )。 ()。 ()。 + username + 39。 + + 39。 private void button1_Click(object sender, EventArgs e) { if (password == ) {if ( == ) { = str。Integrated Security=true。 string str = Data Source=。 public string username = 。 }}} ( 3) 密碼修改界面 psdmodify 1)窗體截圖 圖 9 學生密碼修改界面 2) 控件屬性 控件名稱 屬性 屬性值 label text 密碼修改、請輸入您的當前密碼:、請輸入新密碼:、請再次輸入新密碼: textbox botton text 確定修改、退出 3) 用 SQL 創(chuàng)建存 儲過程 學生密碼修改 passwordmodify CREATE PROCEDURE passwordmodify psd varchar(16), sno char(8) AS update students set psd=psd where sno=sno 4) 程序代碼 using 。 } private void button3_Click(object sender, EventArgs e) { sc scform = new sc()。 //無返回參數(shù)的方法(用于 insert,update等) ()。 ()。 + + 39。 + + 39。 + + 39。 + username + 39。 = conn。 } private void button1_Click(object sender, EventArgs e) { = str。 //將返回值逐個填入對應(yīng)控件顯示 } ()。 = dr[4].ToString()。 = dr[0].ToString()。 SqlDataReader dr = ()。 + username + 39。 //顯示個人信息 ()。 ()。 ()。 SqlDataAdapter da = new SqlDataAdapter(sql, conn)。 + username + 39。 = conn。 } private void stuform_Load(object sender, EventArgs e) { = str。 //繼續(xù)將參數(shù)傳遞至下一窗體使用 ()。 = username。 public stuform() {InitializeComponent()。 SqlConnection conn = new SqlConnection()。Initial Catalog=Student。 //接收由 lonin窗體程序中定義的參數(shù) public string psd=。 namespace stu_inf_adm_system {public partial class stuform : Form {public int type=1。 //提醒信息 }} private void button2_Click(object sender, EventArgs e) {()。 ()。 ()。 = 。 int count2 = (int)()。 SqlCommand cmmd = new SqlCommand(sql, conn)。 + + 39。 + + 39。 //關(guān)閉鏈接,以供后面的程序使用 ()。 ()。 = 。 //返回由存儲過程返回的結(jié)果(個數(shù)) if (count1 0) { stuform mainform = new stuform()。 //執(zhí)行 sql語句 ()。 (歡迎您以學生身份登錄教務(wù)管理系統(tǒng)! )。,39。 if ( == true) //學生登錄 { sql = exec login_stu 39。 private void button1_Click(object sender, EventArgs e) //登錄按鈕
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1