tdschengzu.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;

public partial class tds_chengzu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.CZZH.Attributes.Add("onfocus", "orderid_f()");
        this.Q.Attributes.Add("onclick", "c.showMoreDay = false;c.show(this);");
        this.Z.Attributes.Add("onclick", "c.showMoreDay = false;c.show(this);");
        //传值
        string str = Page.ClientScript.GetPostBackEventReference(this.Button4, string.Empty);
        str = "function post(){" + str + ";}";
        Page.ClientScript.RegisterStartupScript(this.GetType(), "CloseDocument", str, true);

        if (Session["jmmj"] != null)
        {


            double lsjm = double.Parse(Session["jmmj"].ToString().Trim());
            this.LSJMZ.Text = lsjm.ToString();
            this.MSMJZ.Text = (lsjm + double.Parse(this.FDJMZ.Text.Trim())).ToString();
            this.YSMJZ.Text = (double.Parse(this.TDMJZ.Text.Trim()) - double.Parse(this.MSMJZ.Text.Trim())).ToString();
            this.YNSEZ.Text = (((double.Parse(this.YSMJZ.Text.Trim()) * double.Parse(this.TDDJ.SelectedValue)) / 12) * lhb.GetMonth(DateTime.Parse(this.Q.Text.Trim()))).ToString("0.00");
            this.TDDJ.Enabled = false;
            this.CZZH.Enabled = false;
            this.Q.Enabled = false;

        }
        this.bind();

        if (!IsPostBack)
        {
            this.Q.Text = DateTime.Now.Year.ToString().Trim() + "-01-01";
            this.Z.Text = DateTime.Now.Year.ToString().Trim() + "-12-31";
            this.bindDJ();
        }

    }
    private void bindDJ()
    {
        DataSet ds = DBCommand.GetDataSet("select TDDJ,DWSE FROM FDC_TDDJ");
        this.TDDJ.DataSource = ds.Tables[0];
        this.TDDJ.DataTextField = "TDDJ";
        this.TDDJ.DataValueField = "DWSE";
        this.TDDJ.DataBind();
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        try
后面还有 245 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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