regin.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
namespace khglcrm
{
public partial class regin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
//ServiceReke.kehuSoapClient kehu = new ServiceReke.kehuSoapClient();
//bool zhu = kehu.drku(TextBox1.Text);
//if (!zhu)
//{
// kehu.add(TextBox1.Text.Trim());
// DB mydb = new DB();
// OleDbDataReader dr = mydb.GetdataReader("select top 1 * from company order by id");
// if (dr.Read())
// {
// dr.Close();
// int i = mydb.Gettj("update company set dianhua='" + TextBox1.Text + "'");
// if (i > 0)
// {
// ClientScript.RegisterStartupScript(this.GetType(), "message", "<script>alert('注册成功!');window.location.href='login.aspx';</script>");
// }
// }
// else
// {
// dr.Close();
// int i = mydb.Gettj("insert into company(dianhua) values('" + TextBox1.Text.Trim() + "')");
// if (i > 0)
// {
// ClientScript.RegisterStartupScript(this.GetType(), "message", "<script>alert('注册成功!');window.location.href='login.aspx';</script>");
// }
// }
// mydb.close();
//}
//else
//{
// ClientScript.RegisterStartupScript(this.GetType(), "message", "<script>alert('此号码已注册,请更换一个!');</script>");
//}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
