update/fc_chengzu.aspx.cs

(开头部分) 10KB

这里只显示每个文件的开头 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_chengzu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bindZFC();
        }
        this.SXSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
        this.Button2.Attributes.Add("onclick", "window.close();");
        this.QSSJ2.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
        this.ZZSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
        if (this.IsPostBack)
        {
            //this.Button1.Attributes.Add("onclick", "window.close();");

            string str = "window.opener.post();";

            Page.ClientScript.RegisterStartupScript(this.GetType(), "CloseDocument", str, true);
        }
    }
    SqlConnection conn = DBCommand.con();
    protected void ZHSR1_TextChanged(object sender, EventArgs e)
    {

        if (this.ZHSR1.Text == "")
        {
            RegisterStartupScript("true", "<script> alert('请输入租金!')</script>");
        }
        else
        {
            BindYSMJ();
        }
    }

    public void BindYSMJ()
    {

        if (RadioButtonList1.SelectedValue == "居住")
        {
            this.YSMJ2.Text = (Double.Parse(ZHSR1.Text) * 0.04).ToString("0.00");
        }
        if (RadioButtonList1.SelectedValue == "非居住")
        {
            this.YSMJ2.Text = (Double.Parse(ZHSR1.Text) * 0.12).ToString("0.00");
        }
后面还有 243 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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