update/fc_chuzu.aspx.cs

(开头部分) 12KB

这里只显示每个文件的开头 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.Data.SqlClient;

public partial class update_fc_chuzu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bindCFC();



        }
        this.Button2.Attributes.Add("onclick", "window.close();");
        if (this.IsPostBack)
        {

            //string s="__doPostBack('Button4','')"
            string str = "window.opener.post();";
            //Page.RegisterClientScriptBlock("script", str);
            Page.ClientScript.RegisterStartupScript(this.GetType(), "CloseDocument", str, true);

        }
        this.SXSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
        this.QSSJ1.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
        this.ZZSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");

    }
    protected void FCZH1_TextChanged(object sender, EventArgs e)
    {
        string djbh = Request["DJBH"];
        string fczh = Request["FCZH"];
        if (FCZH1.Text == fczh)
        {

        }
        else
        {
            string sql = "select count(*) from  FDC_FCSSYCJ_CFC where DJBH='" + djbh + "'and FCZH='" + fczh + "'";
            SqlCommand com = new SqlCommand(sql, conn);
            conn.Open();
            if (Convert.ToInt32(com.ExecuteScalar()) > 0)
            {
                RegisterStartupScript("true", "<script> alert('房产证书号已经存在,请重新输入!')</script>");
                FCZH1.Text = "";
            }
            conn.Close();
        }
后面还有 305 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。