web/Login.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using US.DBUtility;
using US.CommonLib;
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
//protected void Button1_Click(object sender, EventArgs e)
//{
// string str = CookieHelper.GetCookieValue("CheckCode");
// if (str == TextBox3.Text)
// {
// if (new DBExec().execSqlQry("select * from AdminUsers where vc_AdminName='" + TextBox1.Text + "' and vc_AdminPassword='" + TextBox2.Text + "'").Read())
// {
// SqlDataReader a = new DBExec().execSqlQry("select i_AUd,vc_AdminName,i_GId from AdminUsers where vc_AdminName='" + TextBox1.Text + "'");
// a.Read();
// Session.Add("i_AUd", a.GetValue(0).ToString());
// Session.Add("iGId",a.GetValue(2).ToString());
// Session.Add("Name",a.GetValue(1).ToString());
// Response.Redirect("Main.aspx");
// }
// else
// {
// JavaScriptHelper.Alert("用户登录失败,请重新登录!");
// }
// }
// else
// {
// JavaScriptHelper.Alert("验证码有误,请重新登录!");
// }
//}
//protected void Button2_Click(object sender, EventArgs e)
//{
// TextBox1.Text = "";
// TextBox2.Text = "";
// TextBox3.Text = "";
//}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
string str = CookieHelper.GetCookieValue("CheckCode");
if (str == TextBox3.Text)
{
if (new DBExec().execSqlQry("select * from AdminUsers where vc_AdminName='" + TextBox1.Text + "' and vc_AdminPassword='" + TextBox2.Text + "'").Read())
{
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
