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

正文內(nèi)容

基于aspnet的選課系統(tǒng)答辯-資料下載頁

2025-11-07 20:46本頁面

【導讀】成,沒有抄襲別人的成果,對文章負責。當前,大多數(shù)的高校選課系統(tǒng)的管理員和統(tǒng)計人員仍主要使用傳統(tǒng)的手工工具。要存檔,查找麻煩。為了使管理人員從繁瑣的手工勞動中解脫出來,提高工作人員的工。作效率,降低管理成本,節(jié)約存儲空間,開發(fā)一個學生選課系統(tǒng)十分必要。而且使維護任務(wù)層次化:管理員負責服務(wù)器硬件日常管理和維護,系。統(tǒng)維護人員負責后臺數(shù)據(jù)庫數(shù)據(jù)更新維護。采用B/S模式,突破傳統(tǒng)的文件共享模式,為學習交流平臺的設(shè)計提供新的解決方案。

  

【正文】 (ds3, Employee2)。 = ds3。 = username。 = chenji。 ()。 主要 sql 語句如下: SqlCommand scd = new SqlCommand(insert into ke (name,ke,laoshi)values(39。 + name + 39。,39。 + ke + 39。,39。 + laoshi + 39。), strcon)。 ()。 (script language=javascriptalert(39。 您 已 經(jīng) 添 加 成 功39。)。location=39。39。/script)。 ()。 個人選擇課程 圖 413 這里可以 查看有本人 選擇的課程 ,主要代碼如下: private void bind() { string str = 。 學院本科畢業(yè)論文 (設(shè)計 ) 13 str = select * from ke where name=39。+Session[UserName].ToString()+39。 其中的學生名是通過 Session[UserName]找到的。 教師 管理頁面 教師提交成績 頁面 圖 412 先把選擇本人課程的學生提取出來, 如下代碼: private void bind() { string str = 。 str = select * from ke where laoshi=39。 + Session[UserName].ToString() + 39。 SqlDataAdapter da = new SqlDataAdapter(new SqlCommand(str, new 學院本科畢業(yè)論文 (設(shè)計 ) 14 SqlConnection([Connection])))。 DataSet ds1 = new DataSet()。 DataSet ds = new DataSet()。 (ds1)。 = [0].。 (ds, * ( 1), , bind)。 = [0]。 ()。 } 然后選擇一個學生,添加他的成績信息: 加入成績數(shù)據(jù)庫的代碼如下: protected void Button1_Click(object sender, EventArgs e) { string shu=()。 string banji=()。 string xueqi=()。 string nianji=()。 string zhuanye=()。 string jine=()。 string bankashijian = ()。 SqlCommand = new SqlCommand()。 SqlConnection con = new SqlConnection([Connection])。 = con。 ()。 = update ke set shu=39。+shu+39。,banji=39。+banji+39。 ,xueqi=39。+xueqi+39。,nianji=39。+nianji+39。,zhuanye=39。+zhuanye+39。,jine=39。 + jine + 39。,bankashijian=39。 + bankashijian + 39。 where id= + [id].ToString()。 try { ()。 (script language=javascript alert(39。 添加成功!39。)。=39。../39。/script)。 } catch { (script language=javascript alert(39。 添加失敗!39。)。=39。../39。/script)。 學院本科畢業(yè)論文 (設(shè)計 ) 15 } ()。 } 前臺系統(tǒng)的實現(xiàn) 首頁 圖 414 顯示 公告信息, Sql 代碼如下 : = select * from info where type=39。公告 39。 在前臺顯示的代碼如下 : while (()) { = (dr[info].ToString())。 } 學院本科畢業(yè)論文 (設(shè)計 ) 16 學生 注冊 圖 415 學生類別加載的 主要代碼如下 : SqlConnection con = new SqlConnection([Connection])。 ()。 string sql = select * from branch。 SqlDataAdapter da = new SqlDataAdapter(sql, con)。 DataSet ds = new DataSet()。 (ds)。 = ds。 = Branch。 = Dutyid。 ()。 ()。 加入數(shù)據(jù)庫的代碼如下: string sql = insert into Employee([username],[password],[dutyid],[branch],[addTime],[qq],[chenji],[chenji1],[bianhao],[xuehao],[xingbie],[banji]) values(39。+()+39。,39。 + password + 39。,39。 + 學院本科畢業(yè)論文 (設(shè)計 ) 17 dutyid + 39。,39。 + branch + 39。,39。 + addTime + 39。,39。 + qqs + 39。,39。+()+39。,39。+()+39。,39。 + bianhao1 + 39。,39。 + xuehao1 + 39。,39。 + xingbie1 + 39。,39。 + banji1 + 39。)。 教育新聞 信息 圖 416 可以查詢 教育新聞 信息 ,主要語句如下: SqlCommand = new SqlCommand()。 SqlConnection con = new SqlConnection([Connection])。 = con。 = select * from list where type=39。教育新聞 39。 SqlDataAdapter da = new SqlDataAdapter()。 DataSet ds1 = new DataSet()。 (ds1)。 = [0].。 DataSet ds = new DataSet()。 (ds, * ( 1), , bind)。 = [0]。 學院本科畢業(yè)論文 (設(shè)計 ) 18 ()。 學校新聞 圖 417 主要 代碼,如下: SqlCommand = new SqlCommand()。 SqlConnection con = new SqlConnection([Connection])。 = con。 = select * from list where type=39。學校新聞39。 SqlDataAdapter da = new SqlDataAdapter()。 DataSet ds1 = new DataSet()。 (ds1)。 = [0].。 DataSet ds = new DataSet()。 (ds, * ( 1), , bind)。 = [0]。 ()。 后臺 頁面 學院本科畢業(yè)論文 (設(shè)計 ) 19 圖 418 主要 代碼,如下: else { string pass = ()。 string name = ()。 SqlCommand = new SqlCommand()。 SqlCommand 2 = new SqlCommand()。 SqlCommand 3 = new SqlCommand()。 SqlConnection con = new SqlConnection([Connection])。 學院本科畢業(yè)論文 (設(shè)計 ) 20 = con。 = con。 = con。 ()。 = select * from [Employee]。 SqlDataReader dr = ()。 while (()) { if ((dr[Password].ToString() == pass amp。 dr[UserName].ToString() == name)) { ()。 ()。 Session[UserName] = name。 [user].Value = ()。 ()。 } 學院本科畢業(yè)論文 (設(shè)計 ) 21 } ()。 = select * from [Employee2]。 SqlDataReader dr2 = ()。 while (()) { if ((dr2[Password].ToString() == pass amp。 dr2[UserName].ToString() == name)) { ()。 ()。 Session[UserName] = name。 [user].Value = ()。 ()。 學院本科畢業(yè)論文 (設(shè)計 ) 22 } } ()。 = select * from [user]。 SqlDataReader dr3 = ()。 while (()) {
點擊復制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1