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

正文內(nèi)容

教務(wù)管理系統(tǒng)簡介及學(xué)生端設(shè)計6.1教務(wù)管理系統(tǒng)簡介6.11系統(tǒng)總體-在線瀏覽

2025-01-16 16:58本頁面
  

【正文】 = !。 = !。 = !。 = !。為便于測試查看效果,我們可以向數(shù)據(jù)庫 Student表中添加信息記錄: 學(xué)生注銷 接下來是實現(xiàn)“學(xué)生注銷”功能,只需要在 MainForm 中雙擊“系統(tǒng)管理”下的“學(xué)生注銷”選項,注冊菜單單擊事件 stuLoginout_Click,編寫代碼如下: private void stuLogout_Click(object sender, EventArgs e) { = 。 = false。 ()。 } 學(xué)籍管理模塊設(shè)計 學(xué)籍管理模塊有如下主要功能,下面將詳細(xì)進(jìn)行介紹 。 ? 修改信息:登錄以后學(xué)生用戶可以修改自己的個人信息。完成該功能的步驟如下: ( 1) 啟動 Visual Studio,在“解決方案管理器”窗口選中 Student 項目,單擊右鍵,從彈出的快捷菜單中選擇 Add|Windows Form 命令,在彈出的對話框中輸入文件名為。 ( 3) 向 RegisterForm 窗體 添加控件并做調(diào)整,使其效果如圖 所示。 圖 “新生注冊”窗體 表 RegisterForm 中控件屬性 控件類型 Name 屬性 Text 屬性 其它屬性 Lable lblStuNum 學(xué)號: Lable lblBirthday 生日: Lable lblPassword 密碼: Lable lblCfmPassword 確認(rèn)密碼: Lable lblStuName 姓名: Lable lblStuSex 性別: Lable lblEnrolDate 入學(xué)時間: Lable lblRace 民族: Lable lblGraduDate 畢業(yè)時間: Lable lblMajor 專業(yè): Lable lblParty 政治面貌: Lable lblPhone 電話: Lable lblHome 家族住址: Lable lblDesc 其它說明: TextBox txtStuNum TextBox txtPassword PasswordChar 為 * TextBox txtCfmPassword PasswordChar 為 * TextBox txtStuName TextBox txtMajor TextBox txtPhone TextBox txtHome TextBox txtDesc Multiline 為 True DateTimePicker dtpBirthday DateTimePicker dtpEnrolDate DateTimePicker dtpGraduDate ComboBox dmbSex Items 屬性為:男、女DropDownStyle 屬性為: DropDownList ComboBox cmbRace ComboBox cmbParty Items 屬性為:中共黨員、中共預(yù)備黨員、共 青 團(tuán) 員、 其 他DropDownStyle 屬性為: DropDownList Button btnOK 提交注冊 Button btnCancel 重新填寫 ( 4) 雙擊“提交注冊”按鈕,注冊按鈕單擊事件 btnOK_Click,在 的編碼界面中首先引入如下命名空間: using 。 ( 5) 編寫“提交注冊”按鈕單擊事件代碼如下: private void btnOK_Click(object sender, EventArgs e) { if ( == ) { AlertMessage(請輸入姓名 )。 } else if ( == ) { AlertMessage(請輸入學(xué)號 )。 } else if (() == ) { AlertMessage(請選擇性別 )。 } else if (() == ) { AlertMessage(請選擇政治面貌 )。 } else if ( == ) { AlertMessage(請輸入電話號碼 )。 } else if ( == ) { AlertMessage(請輸入家庭住址 )。 } else if (() == ) { AlertMessage(請輸入民族 )。 } else if ( == ) { AlertMessage(請選擇專業(yè) )。 } else if (() == ) { AlertMessage(請輸入密碼 )。 } else if ( != ) { AlertMessage(兩次輸入的密碼不匹配,請查實后重試 )。 } else { //將信息封裝為學(xué)生信息實體 EStudent stuInfo = new EStudent()。 = 。 = ()。 = 。 = 。 = 。 = ()。 try { StudentDB stuDB = new StudentDB()。 ()。 } } catch (SqlException ex) { AlertMessage(數(shù)據(jù)庫操作失敗,請稍后重試。 } } } ( 6) 在 RegisterForm 中添加自定義方法 AlertMessage,代碼如下: private void AlertMessage(string message) { (message,Information:, ,)。 using 。 namespace { public class EStudent { private string stuNum。 } set { stuNum = value。 /// summary /// 姓名 /// /summary public string StuName { get { return stuName。 } } private DateTime stuEnrolDate。 } set { stuEnrolDate = value。 /// summary /// 畢業(yè)時間 /// /summary public DateTime StuGraduDate { get { return stuGraduDate。 } } private string stuParty。 } set { stuParty = value。 /// summary /// 出生日期 /// /summary public DateTime StuBirthday { get { return stuBirthday。 } } private string stuSex。 } set { stuSex = value。 /// summary /// 民族 /// /summary public string StuRace { get { return stuRace。 } } private string stuMajor。 } set { stuMajor = value。 /// summary /// 電話 /// /summary public string StuPhone { get { return stuPhone。 } } private string stuHome。 } set { stuHome = value。 /// summary /// 其他說明 /// /summary public string StuDesc { get { return stuDesc。 } } private string stuPassowrd。 } set { stuPassowrd = value。 //建立數(shù)據(jù)庫命令對象 SqlCommand cmd = new SqlCommand()。 = 。 SqlParameter paramStuPassword = new SqlParameter(stuPassword, )。 SqlParameter paramStuName = new SqlParameter(stuName, )。 SqlParameter paramStuEnrollmentDate = new SqlParameter(stuEnrollmentDate, )。 SqlParameter paramStuGraduatedDate = new SqlParameter(stuGraduatedDate, )。 SqlParameter paramStuMajor = new SqlParameter(stuMajor, )。 SqlParameter paramStuSex = new SqlParameter(stuSex, )。 SqlParameter paramStuBirthday = new SqlParameter(stuBirthday, )。 SqlParameter paramStuHome = new SqlParameter(stuHome, )。 SqlParameter pa
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1