tdsziyong.aspx.cs
(开头部分) 11KB这里只显示每个文件的开头 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_ziyong : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.TDZH.Attributes.Add("onfocus", "orderid_f()");
this.QDSJ.Attributes.Add("onclick", "c.showMoreDay = false;c.show(this);");
this.TDDZ.Attributes.Add("onclick", "c.showMoreDay = false;c.show(this);");
//this.QDSJ.Attributes.Add("onkeydown", "if (event.keyCode==13){event.keyCode=9;event.returnValue=true;}");
//this.TDYT.Attributes.Add("onkeydown", "if (event.keyCode==13){document.getElementById('QSSJ').focus(); }");
//this.QSSJ.Attributes.Add("onkeydown", "if (event.keyCode==13){document.getElementById('TDYT').focus(); }");
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.LSJM.Text = lsjm.ToString();
this.MSMJ.Text = (lsjm + double.Parse(this.FDJM.Text.Trim())).ToString();
this.YSMJ.Text = (double.Parse(this.TDMJ.Text.Trim()) - double.Parse(this.MSMJ.Text.Trim())).ToString();
this.YNSE.Text = (((double.Parse(this.YSMJ.Text.Trim()) * double.Parse(this.TDDJ.SelectedValue)) / 12) * lhb.GetMonth(DateTime.Parse(this.QSSJ.Text.Trim()))).ToString("0.00");
this.TDZH.Enabled = false;
this.TDDJ.Enabled = false;
this.QSSJ.Enabled = false;
}
this.bind();
if (!IsPostBack)
{
this.bindDJ();
this.QDSJ.Text = DateTime.Now.Year.ToString().Trim() + "-01-01";
this.QSSJ.Text = DateTime.Now.Year.ToString().Trim() + "-01-01";
}
}
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();
}
后面还有 239 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。