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

正文內(nèi)容

asp_net_學(xué)生學(xué)籍管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)(已改無(wú)錯(cuò)字)

2023-03-14 23:56:16 本頁(yè)面
  

【正文】 圖 52 學(xué)生學(xué)籍管理系統(tǒng)主界面 學(xué)生學(xué)籍管理系統(tǒng)主界面程序代碼如下: private void infos() { string myss = () + + () + + user + 退出 。 string paths = () + \\。 StreamWriter sw = new StreamWriter(paths, true, 學(xué)生學(xué)籍管理系統(tǒng) 23 )。 (myss)。 ()。 } private void timer1_Tick(object sender, EventArgs e) { = + () + + () + 。 } 主要功能 : 對(duì)學(xué)生的學(xué)號(hào),姓名,專(zhuān)業(yè),系別等信息進(jìn)行添加,修改,刪除等相關(guān)的管理。 圖 53 學(xué)生學(xué)籍管理的學(xué)生管理界面 學(xué)生學(xué)籍管理的學(xué)生管理的主要代碼如下: private void xuesheng_Load(object sender, EventArgs e) { string = Data Source=.。Initial 學(xué)生學(xué)籍管理系統(tǒng) 24 Catalog=xjgl1。Integrated Security=True。 SqlConnection n = new SqlConnection()。 string sel = Select Stu_id as 學(xué)號(hào) ,Stu_name as 姓名 ,Stu_major as 專(zhuān)業(yè) ,Stu_department as 學(xué)院 from Students。 SqlCommand = new SqlCommand(sel, n)。 dt = new DataTable()。 da = new SqlDataAdapter()。 =。 SqlCommandBuilder cb = new SqlCommandBuilder(da)。 (dt)。 dataGridView1 .DataSource =dt。 } private void tianjia_Click(object sender, EventArgs e) { string my = insert into Students(Stu_id,Stu_name,Stu_major,Stu_department) values( + 39。 + + 39。 + , + 39。 + + 39。 + , + 39。 + + 39。 + , + 39。 + + 39。)。 constring(my)。 } private void xiugai_Click(object sender, EventArgs e) { string updates = update Students set Stu_name = + 39。 + () + 39。,Stu_major= + 39。 + () + 39。,Stu_department= + 39。 + () + 39。 Where Stu_id= + 39。 + () + 39。 constring(updates)。 } 學(xué)生學(xué)籍管理系統(tǒng)的教材管理界面 在教材管理界面中可以對(duì)學(xué)科代號(hào),學(xué)科,教師進(jìn)行瀏覽,修改,刪除,添加等相關(guān)操作 。 學(xué)生學(xué)籍管理系統(tǒng)的教材管理界面如 54 所示 學(xué)生學(xué)籍管理系統(tǒng) 25 圖 54 教材管理界面 教材管理界的主要代碼如下: private void reasch() { string = Data Source=.。Initial Catalog=xjgl1。Integrated Security=True。 SqlConnection n = new SqlConnection()。 string sel = select *from Teacher where Tea_name=39。 + () + 39。 SqlCommand = new SqlCommand(sel, n)。 private void tuichu_Click(object sender, EventArgs e) { ()。 } private void jiaocai_Load(object sender, EventArgs e) { string = Data Source=.。Initial Catalog=xjgl1。Integrated Security=True。 學(xué)生學(xué)籍管理系統(tǒng) 26 SqlConnection n = new SqlConnection()。 string sel = select Cou_id as 學(xué)科代號(hào) ,Cou_name as 學(xué)科名 ,Tea_name as 任課教師 from courview。 SqlCommand = new SqlCommand(sel, n)。 da = new SqlDataAdapter()。 dt = new DataTable()。 = 。 SqlCommandBuilder cb = new SqlCommandBuilder(da)。 (dt)。 =dt。 SqlDataAdapter da1 = new SqlDataAdapter()。 DataTable dt1 = new DataTable()。 string sel1 = select *from Teacher。 SqlCommand 1 = new SqlCommand(sel1,n)。 = 1。 SqlCommandBuilder cb1 = new SqlCommandBuilder(da1)。 (dt1)。 = dt1。 = [Tea_name].ToString()。 } private static string teaid。 private void tianjia_Click(object sender, EventArgs e) { reasch()。 string inserts = insert into Course values( + 39。 + () + 39。,39。 + () + 39。,39。 + teaid + 39。)。 constring(inserts)。 } private void shanchu_Click(object sender, EventArgs e) { string del = delete from Course where Cou_id=39。 + () + 39。 constring(del)。 學(xué)生學(xué)籍管理系統(tǒng) 27 } private void xiugai_Click(object sender, EventArgs e) { reasch()。 string updates = update Course set Cou_id=39。 + () + 39。,Cou_name=39。 + () + 39。,Tea_id=39。 + teaid + 39。 where Cou_id=39。 + () + 39。 constring(updates)。 } 學(xué)生成績(jī)管理界面 學(xué)生成績(jī)管理界面在學(xué)生成績(jī)管理界面中可以對(duì)學(xué)生的成績(jī)進(jìn)行查詢(xún) ,瀏覽,刪除,修改等相關(guān)操作。 ,打印如圖 55 所示 圖 55 學(xué)生成績(jī)管理 學(xué)生成績(jī)管理界面的主要代碼: 學(xué)生學(xué)籍管理系統(tǒng) 28 private void chengji_Load(object sender, EventArgs e) { string = Data Source=.。Initial Catalog=xjgl1。Integrated Security=True。 SqlConnection n = new SqlConnection()。 string mysel = Select Stu_id as 學(xué)號(hào) ,Stu_name as 姓名 ,Stu_major as 專(zhuān)業(yè) ,Stu_department as 學(xué)院 ,Cou_name as 學(xué)科 ,Grade as 學(xué)分 ,Tea_name as 任課教師 from grade2。 SqlCommand = new SqlCommand(mysel, n)。 dt = new DataTable()。 da = new SqlDataAdapter()。 = 。 SqlCommandBuilder cb = new SqlCommandBuilder(da)。 (dt)。 = dt。 DataTable dt1 = new DataTable()。 SqlDataAdapter da1 = new SqlDataAdapter()。 string mysel1 = select *from Course。 SqlCommand 1 = new SqlCommand(mysel1, n)。 = 1。 SqlCommandBuilder cb1 = new SqlCommandBuilder(da1)。 (dt1)。 = dt1。 = [Cou_name].ToString()。 DataTable dt2 = new DataTable()。 SqlDataAdapter da2 = new SqlDataAdapter()。 string mysel2 = select *from Students。 SqlCommand 2 = new SqlCommand(mysel2, n)。 = 2。 SqlCommandBuilder cb2 = new SqlCommandBuilder(da2)。 (dt2)。 = dt2。 = [Stu_id].ToString()。 } private void constring(string mand) {
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1