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

正文內(nèi)容

基于net的學(xué)校人力資源管理系統(tǒng)在對(duì)sql_server20xx數(shù)據(jù)庫(kù)管理系統(tǒng)設(shè)計(jì)-預(yù)覽頁(yè)

 

【正文】 陸 .aspx)。 = false。 string strSelect = select * from 管理員個(gè)人信息表 where name=39。 ()。 = myread[4].ToString()。 DateTime time = (myread[8])。 ()。 if (() == ) { = 原密碼不能為空 。 } else if (() != ()) { = 確認(rèn)密碼與新密碼不同不能為空 。{0}39。 (sql1)。詳細(xì)代碼請(qǐng)見(jiàn)源代碼。 . . 第 4 章 項(xiàng)目設(shè)計(jì)中的主要技術(shù) .NET 與數(shù)據(jù)連接技術(shù) 由于與數(shù)據(jù)庫(kù)連接那部分代碼是通用的,因此我個(gè)人是先創(chuàng)建了一個(gè) lianjie類,每次與數(shù)據(jù)庫(kù)連接的時(shí)候只需調(diào)用這個(gè)類的方法即可 。 public lianjie() { string connstring = ([學(xué)校人力資源管理系統(tǒng)])。 ()。 ()。 try { . . ()。 } } catch (SqlException ex) { (error: + ())。 m = new SqlCommand(sql, conn)。 } public void guanbi() { if (myread != null) { ()。 SqlConnection myCon = null。 try{ string myConStr = [db_link]。 = myCon。 myDa = new SqlDataAdapter()。 = [DS_ZYB].DefaultView。 } catch (Exception oe){} finally { if (myCon != null) { ()。 項(xiàng)目運(yùn)行結(jié)果及分析 項(xiàng)目首先運(yùn)行進(jìn)入的界面是登陸界面,輸入用戶名和密碼,若錯(cuò)誤則提示: 您輸入的賬戶或密碼有誤,請(qǐng)重新填寫(xiě)! 若正確進(jìn)入管理主界面,可以對(duì)學(xué)校的人力資源進(jìn)行管理。因此我在界面中使用最多的是 panel 容器,在主界面中我 還使用了 treeview 樹(shù)形控件,通過(guò)對(duì)它的Visible屬性設(shè)置可以讓管理員看見(jiàn)他想看到的資源。當(dāng)然了在設(shè)計(jì)過(guò)程中如果你想讓自己的程序變得完美,最重要的是自學(xué),自己去獨(dú)立地學(xué)習(xí)一些東西,去了解自己設(shè)計(jì)存在的不足,然后解決它,完善它,當(dāng)一個(gè)又一個(gè)問(wèn)題被自己獨(dú)立地解決時(shí),那種快樂(lè)是無(wú)與倫比的,這次課程設(shè)計(jì)又一次加深了我對(duì)編程的興趣,相信在以后的時(shí)間里我還是會(huì)努力地去探索編程里那些有趣的代碼 . . 附錄:源代碼清單 using System。 using 。 using 。 public class lianjie { SqlConnection conn = null。 conn = new SqlConnection(connstring)。 } catch (SqlException ex) { (error: + ())。 . . } catch (SqlException ex) { (error: + ())。 m = new SqlCommand(sql, conn)。 } finally { ()。 myread = ()。 } if (conn != null) { ()。 . . using 。 using 。 using 。 Session[password] = ()。 and password=39。 } else { (管理首頁(yè) .aspx)。 using 。 using 。 using 。 = false。 = false。 = false。 = false。 = false。 ()。 ()。 using 。 using 。 using 。 public partial class 基本信息 : { protected void Page_Load(object sender, EventArgs e) { string username = Session[username].ToString().Trim()。{0}39。 = myread[1].ToString()。 = myread[5].ToString()。 = ()。 } } 修改密碼 . using System。 using 。 using 。 public partial class 修改密碼 : { protected void Page_Load(object sender, EventArgs e) { } protected void baocun(object sender, EventArgs e) { string mm = Session[password].ToString().Trim()。 } else if (() !=mm) { = 原密碼輸入錯(cuò)誤 。 } else if (() == ()) { = 新密碼與原密碼相同 。 where username=39。 (script language=\javascript\alert(\修改成功,下次登錄請(qǐng)使用新密碼! \)/script)。 using 。 using 。 using 。 string sql = select * from 學(xué)生表 。 = myread。 ()。 SqlCommand myCom = null。 myCon = new SqlConnection(myConStr)。 string strSelect = select * from 學(xué)生表 where xm=39。 = sql。 (myDs, DS_XS)。 } } } else if (tjz == 1) { SqlConnection myCon = null。 try { string myConStr = [db_link]。 myCom = new SqlCommand()。 string sql = (strSelect, nr)。 = myCom。 ()。 SqlDataAdapter myDa = null。 myCon = new SqlConnection(myConStr)。 string strSelect = select * from 學(xué)生表 where xb=39。 = sql。 (myDs, DS_XS)。 } } } else if (tjz == 3) { SqlConnection myCon = null。 try { string myConStr = [db_link]。 . . myCom = new SqlCommand()。 string sql = (strSelect, nr)。 = myCom。 ()。 SqlDataAdapter myDa = null。 myCon = new SqlConnection(myConStr)。 string strSelect = select * from 學(xué)生表 where zydm=39。 = sql。 (myDs, DS_XS)。 } } } } protected void GridViewXS_RowDeleting(object sender, GridViewDeleteEventArgs e) { string strBH= [].Cells[0].()。 (script language=\javascript\alert(\學(xué)生表數(shù)據(jù)刪除成功!\)/script)。 using 。 using 。 using 。 SqlCommand myCom = null。 。 = myCon。 myDa = new SqlDataAdapter()。 = [DS_XYB].DefaultView。 } catch (Exception oe) { } finally { if (myCon != null) { ()。 string strXY = ()。 } else { strXB = 男 。 。 = myCon。{1}39。{3}39。 string sql = (strInsert, strXM, strXH, strXB, strXY, strZY)。 (script language=\javascript\alert(\數(shù)據(jù)庫(kù)數(shù)據(jù)添加成功!\)/script)。 SqlConnection myCon = null。 try{ string myConStr = [db_link]。 myCom = new SqlCommand()。 = strSelect。 (myDs, DS_ZYB)。 ()。 using 。 using 。 using
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1