update/td_ziyong.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_td_ziyong : System.Web.UI.Page
{
public static DataTable mytable;
protected void Page_Load(object sender, EventArgs e)
{
string tdzh = Request.QueryString["tdzh"].ToString();
string djbh = Request.QueryString["djbh"].ToString();
if (!IsPostBack)
{
this.QDSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
this.QSSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
this.SXSJDATE.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
string sql = "select A.TDZH,A.TDDZ,A.QDSJ,A.TDZT,A.QSSJ,A.TDYT,A.TDMJ,A.YSMJ,A.MSMJ,A.FDJM,A.LSJM,A.TDDJ,A.YNSE FROM FDC_TDSSYCJ_YTD A WHERE A.TDZH='" + tdzh + "' AND A.DJBH='" + djbh + "'";
this.bindtext(sql);
}
//if (this.IsPostBack)
//{
// //string s="__doPostBack('Button4','')"
// string str = "window.opener.post();window.close();";
// //Page.RegisterClientScriptBlock("script", str);
// Page.ClientScript.RegisterStartupScript(this.GetType(), "CloseDocument", str, true);
//}
}
public void bindtext(string sql)
{
DBCommand DB = new DBCommand();
DataSet ds = DB.getdata(sql);
this.TDZH.Text = ds.Tables[0].Rows[0][0].ToString();
this.TDDZ.Text = ds.Tables[0].Rows[0][1].ToString();
this.QDSJ.Text = ds.Tables[0].Rows[0][2].ToString();
this.TDZT.Text = ds.Tables[0].Rows[0][3].ToString();
this.QSSJ.Text = ds.Tables[0].Rows[0][4].ToString();
this.TDYT.Text = ds.Tables[0].Rows[0][5].ToString();
this.TDMJ.Text = ds.Tables[0].Rows[0][6].ToString();
this.YSMJ.Text = ds.Tables[0].Rows[0][7].ToString();
this.MSMJ.Text = ds.Tables[0].Rows[0][8].ToString();
this.FDJM.Text = ds.Tables[0].Rows[0][9].ToString();
后面还有 151 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。