FindPwd/One.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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;
using System.Collections.Generic;
public partial class One : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
//用户身份验证
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
if (txtUserName.Text == "")
{
Page.ClientScript.RegisterStartupScript(this.GetType(),"", "<script>alert('会员名不能为空!');</script>");
return;
}
else if (txtUserName.Text != null)
{
//获取电子邮箱
List<Model.MailsInfo> list = BLL.MailsInfoBLL.GetListEmail(txtUserName.Text);
Model.MailsInfo vMailsInfo = list[0];
txtToaddress.Text = vMailsInfo.Toaddress;
//保存用户名
Session["Title"] = txtUserName.Text;
//保存电子邮箱
Session["ToAddress"] = txtToaddress.Text;
}
if (txtCheck.Text != Session["code"].ToString())
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('验证码不正确!');</script>");
return;
}
Response.Redirect("Two.aspx");
}
// 下载于www.51aspx.com
//验证用户是否存在
protected void Button1_Click(object sender, EventArgs e)
{
Model.MailsInfo model = new Model.MailsInfo();
model.Title = txtUserName.Text;
model.Toaddress = txtUserName.Text;
//if (txtUserName.Text == "")
//{
// Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('会员名不能为空!');</script>");
后面还有 14 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。