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

正文內(nèi)容

[計(jì)算機(jī)軟件及應(yīng)用]在線考試系統(tǒng)仲維山畢業(yè)論文-資料下載頁

2025-01-18 14:37本頁面
  

【正文】 空!\)。/script)。}//學(xué)生登錄else{int count=0。if(==學(xué)生){//訪問數(shù)據(jù)庫string conn =Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。SqlConnection = newSqlConnection(conn)。()。//確認(rèn)數(shù)據(jù),查詢數(shù)據(jù)庫中的數(shù)據(jù)string strsql = SelectstuID,stuPwd from student where stuID=39。 + + 39。 or stuPwd=39。 + + 39。SqlCommand cmd = newSqlCommand(strsql, )。SqlDataReader rd = ()。if (()){if ((0).ToString() == ){if((1).ToString() == ){string stuID=()。Session[stuID]=stuID。()。}else{(scriptalert(39。密碼錯(cuò)誤!39。)/script)。}}else{(scriptalert(39。用戶名錯(cuò)誤!39。)/script)。}}else{(scriptalert(39。用戶不存在!39。)/script)。}}//管理員登錄else if(==管理員){string conn = Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。SqlConnection = new SqlConnection(conn)。()。string strsql =select adminId,adminPwd from administrator where adminId=39。 + + 39。 or adminPwd=39。 + + 39。SqlCommand cmd = new SqlCommand(strsql, )。SqlDataReader rd = ()。if (()){if ((0).ToString() ==){if ((1).ToString() == ){string adminId=()。Session[adminId]=adminId。()。}else{(scriptalert(39。密碼錯(cuò)誤!39。)/script)。}}Else(scriptalert(39。用戶名錯(cuò)誤!39。)/script)。}}else{(scriptalert(39。用戶不存在!39。)/script)。}}}}private void ImageButton2_Click(object sender, e){=。=。}用戶注冊(cè):private void Button1_Click(object sender, e){//訪問數(shù)據(jù)庫string strSqlconn = Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。SqlConnection conn = newSqlConnection(strSqlconn)。SqlCommand m=new SqlCommand(insert into student (stuID,stuPwd,stuName,stuEmail)values(@stuID,@stuPwd,@stuName,@stuEmail),conn)。//根據(jù)ID匹配向數(shù)據(jù)庫里插入數(shù)據(jù)SqlParameter parm1=newSqlParameter(@stuID,15)。=。SqlParameter parm2=new SqlParameter(@stuPwd,10。=。SqlParameter parm3=new SqlParameter(@stuName,10)。=。SqlParameter parm4=newSqlParameter(@stuEmail,50)。=。(parm1)。(parm2)。(parm3)。(parm4)。()。()。()。(scriptalert(\注冊(cè)成功!\)。/script)。(script language=javascript(2)。/script)。 }用戶信息管理:protected void SetBind(){string strSqlconn = Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。//連接數(shù)據(jù)庫string strsql = select * fromstudent where stuID =+Session[stuID]+。SqlConnection conn = newSqlConnection(strSqlconn)。//讀取數(shù)據(jù)庫數(shù)據(jù)try{()。SqlDataAdapter adp = newSqlDataAdapter(strsql,conn)。DataSet ds = new DataSet()。(ds)。 = ds。()。}finally{()。}}Protected voidupdate(objectsender,DataGridCommandEventArgs e){//學(xué)生修改信息(密碼、電子郵件)string strSqlconn = Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。SqlConnection conn = newSqlConnection(strSqlconn)。SqlCommand m=newSqlCommand(update student setstuPwd=@stuPwd,stuEmail=@stuEmail where ID=@id,conn)。SqlParameter parm1=newSqlParameter(@stuPwd,100)。=((TextBox)(Pwd)).Text。SqlParameter parm2=newSqlParameter(@stuEmail,50)。=((TextBox)(Email)).Text。SqlParameter parm3=newSqlParameter(@id,)。=[]。(parm1)。(parm2)。(parm3)。()。()。()。=1。SetBind()。}查看成績(jī):protected void SetBind(){//讀取數(shù)據(jù)庫數(shù)據(jù)string strSqlconn = Data Source=.。Initial Catalog=TestOnline。Integrated Security=True。string strsql = select * fromscore where stuID =+Session[stuID]+。SqlConnection conn = newSqlConnection(strSqlconn)。try{()。SqlDataAdapter adp = new SqlDataAdapter(strsql,conn)。DataSet ds = new DataSet()。(ds)。 = ds。()。}
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1