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

  • 大小: 13KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-06
  • 語言: C#
  • 標簽:

資源簡介

asp.net寫的一個cookie和session登陸小實驗,項目簡單明了,都加上了備注。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections;
using?System.Configuration;
using?System.Data;
using?System.Linq;
using?System.Web;
using?System.Web.Security;
using?System.Web.UI;
using?System.Web.UI.HtmlControls;
using?System.Web.UI.WebControls;
using?System.Web.UI.WebControls.WebParts;
using?System.xml.Linq;

public?partial?class?complete?:?System.Web.UI.Page
{
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????if?(PreviousPage?!=?null)
????????{
????????????if?(PreviousPage.IsCrossPagePostBack?==?true)
????????????{
????????????????string?name?=?((TextBox)this.PreviousPage.FindControl(“t_name“)).Text;
????????????????string?password?=?((TextBox)this.PreviousPage.FindControl(“t_pass“)).Text;
????????????????string?password2?=?((TextBox)this.PreviousPage.FindControl(“t_pass2“)).Text;
????????????????string?email?=?((TextBox)this.PreviousPage.FindControl(“t_email“)).Text;
????????????????if?(name.Equals(““)?||?password.Equals(““)?||?password2.Equals(““)?||?!password.Equals(password2))
????????????????{
????????????????????Response.Write(“您輸入的信息有誤“);
????????????????????
????????????????}
????????????????else
????????????????{
????????????????????Response.Write(“賬號:“+name+“
“);
????????????????????Response.Write(“密碼:“?+?password2?+?“
“);
????????????????????Response.Write(“email:“?+?email?+?“
“);
??????????
????????????????}

????????????}
????????????else
????????????{

????????????????Response.Redirect(“Default.aspx“);
????????????}
????????}
????????else
????????{
????????????Response.Redirect(“Default.aspx“);

????????}
????}
????protected?void?Button1_Click(object?sender?EventArgs?e)
????{
????????Response.Redirect(“Default.aspx“);
????}
????protected?void?Button2_Click(object?sender?EventArgs?e)
????{
???????
????}
}

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

?????文件????????398??2012-05-15?11:02??web_login2_20120510\App_Code\Login.cs

?????文件????????943??2012-05-10?14:03??web_login2_20120510\App_Code\StrEncryption.cs

?????文件????????705??2012-05-11?13:36??web_login2_20120510\App_Code\User.cs

?????文件????????687??2012-05-14?18:31??web_login2_20120510\complete.aspx

?????文件???????1865??2012-05-15?00:10??web_login2_20120510\complete.aspx.cs

?????文件????????925??2012-05-14?18:07??web_login2_20120510\Default.aspx

?????文件???????4223??2012-05-15?11:04??web_login2_20120510\Default.aspx.cs

?????文件????????998??2012-05-14?18:09??web_login2_20120510\reg.aspx

?????文件???????1320??2012-05-15?10:51??web_login2_20120510\reg.aspx.cs

?????文件???????8068??2012-05-10?11:23??web_login2_20120510\web.config

?????文件???????1600??2012-05-10?15:58??web_login2_20120510\web_login2_20120510.sln

????..A..H.?????22016??2012-05-15?11:29??web_login2_20120510\web_login2_20120510.suo

?????文件????????554??2012-05-11?14:04??web_login2_20120510\welcome.aspx

?????文件???????1723??2012-05-11?14:02??web_login2_20120510\welcome.aspx.cs

?????目錄??????????0??2012-05-15?11:02??web_login2_20120510\App_Code

?????目錄??????????0??2012-05-10?11:29??web_login2_20120510\App_Data

?????目錄??????????0??2012-05-15?11:04??web_login2_20120510

-----------?---------??----------?-----??----

????????????????46025????????????????????17


評論

共有 條評論

相關資源