91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 482KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-05-29
  • 語言: ASP
  • 標簽: asp??

資源簡介

本資源包含在線考試系統(tǒng)的完整代碼,使用asp開發(fā)的完整項目。供項目開發(fā)人員參考借鑒。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Web;
using?System.Web.SessionState;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.HtmlControls;

namespace?TestOnline
{
///?
///?admin?的摘要說明。
///?

public?class?admin?:?System.Web.UI.Page
{
protected?System.Web.UI.WebControls.TextBox?tbx_oldPwd;
protected?System.Web.UI.WebControls.TextBox?tbx_newPwd1;
protected?System.Web.UI.WebControls.TextBox?tbx_newPwd2;
protected?System.Web.UI.WebControls.ImageButton?Ibtn_ok;

private?void?Page_Load(object?sender?System.EventArgs?e)
{
//?在此處放置用戶代碼以初始化頁面
if(Session[“adminId“]==null)
{Response.Redirect(“l(fā)ogin.aspx“);
}

}

#region?Web?窗體設計器生成的代碼
override?protected?void?OnInit(EventArgs?e)
{
//
//?CODEGEN:?該調用是?ASP.NET?Web?窗體設計器所必需的。
//
InitializeComponent();
base.OnInit(e);
}

///?
///?設計器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內(nèi)容。
///?

private?void?InitializeComponent()
{????
this.Ibtn_ok.Click?+=?new?System.Web.UI.ImageClickEventHandler(this.Ibtn_ok_Click);
this.Load?+=?new?System.EventHandler(this.Page_Load);

}
#endregion

private?void?Ibtn_ok_Click(object?sender?System.Web.UI.ImageClickEventArgs?e)
{
string?adminId=Convert.ToString(Session[“adminId“]);
string?adminPwd=tbx_oldPwd.Text.Trim();
string?newPwd1=tbx_newPwd1.Text.Trim();
string?newPwd2=tbx_newPwd2.Text.Trim();
if(newPwd1==““||newPwd2==““)
Response.Write(“ript>alert(\“密碼不能為空\“);ript>“);
else
{
int?count=(new?projClass()).getAdmin(adminIdadminPwd);
if(count==0)
{
Response.Write(“ript>alert(\“密碼錯誤!請重新輸入\“);ript>“);
}
else
{
if(!newPwd1.Equals(newPwd2))
Response.Write(“ript>alert(\“兩次密碼不一致!請重新輸入!\“);ript>“);
else
{
int?count1=(new?projClass()).updateAdminPwd(adminIdnewPwd1);
if(count1==1)
Response.Write(“ript>alert(\“密碼修改成功!\“);ript>“);
else??Response.Write(“ript>alert(\“更新失敗!\“);ript>“);
}
}
}
}




}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6167??2006-02-26?15:41??testResult.aspx.cs

?????文件???????5317??2006-02-26?15:26??testResult.aspx.resx

?????文件???????3124??2006-02-26?15:36??testResultSingle.aspx

?????文件???????5704??2006-02-26?15:41??testResultSingle.aspx.cs

?????文件???????5317??2006-02-26?14:08??testResultSingle.aspx.resx

?????文件???????4118??2006-02-27?16:41??testUpdate.aspx

?????文件???????4864??2006-02-27?16:10??testUpdate.aspx.cs

?????文件???????5317??2006-02-26?16:25??testUpdate.aspx.resx

?????文件???????4125??2006-02-27?16:41??testUpdateByTeacher.aspx

?????文件???????4800??2006-02-27?16:14??testUpdateByTeacher.aspx.cs

?????文件???????5317??2006-02-27?15:47??testUpdateByTeacher.aspx.resx

?????文件????????845??2006-01-06?14:50??top.htm

?????文件????????312??2006-01-06?13:07??underframe.html

?????文件???????4333??2006-02-27?16:57??userInfo.aspx

?????文件???????5001??2006-02-27?16:57??userInfo.aspx.cs

?????文件???????5317??2006-02-27?16:57??userInfo.aspx.resx

?????文件???????4487??2007-03-25?10:32??Web.config

?????文件????????987??2006-02-26?14:08??WebForm2.aspx

?????文件???????1022??2006-02-26?14:08??WebForm2.aspx.cs

?????文件???????5317??2006-02-26?14:08??WebForm2.aspx.resx

?????文件??????98304??2006-02-27?17:05??bin\TestOnline.dll

?????文件?????245248??2006-02-27?17:05??bin\TestOnline.pdb

?????目錄??????????0??2006-02-22?18:18??bin

?????文件??????55722??2006-01-20?02:18??images\3.jpg

?????文件??????25780??2006-01-09?00:43??images\4_r1_c2.jpg

?????文件???????1452??2005-08-10?21:57??images\adsf.jpg

?????文件??????28463??2006-01-07?15:14??images\book_r1_c2.jpg

?????文件????????189??2005-12-23?03:05??images\btn_allchoose_1.gif

?????文件????????188??2005-12-23?03:05??images\btn_allclean_1.gif

?????文件????????648??2005-12-23?03:05??images\btn_amend_1.gif

............此處省略112個文件信息

評論

共有 條評論