update/td_chuzu.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_chuzu : 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.QSSJC.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
this.ZZSJC.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
this.KZSJ.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
this.SXSJdate.Attributes.Add("onfocus", "c.showMoreDay = false;c.show(this);");
//string strConn = System.Configuration.ConfigurationManager.AppSettings["con"];
//string strSql = "";
//strSql = "select A.TDDJ,A.DWSE,A.YSMJ,A.FDJM,A.LSJM from FDC_TDSSYCJ_CTD_MX A where A.TDZH='" + tdzh + "'";
//SqlConnection conn = new SqlConnection(strConn);
//SqlDataAdapter dr = new SqlDataAdapter(strSql, conn);
//DataSet ds = new DataSet();
//dr.Fill(ds);
//this.DataList1.DataSource = ds.Tables[0];
//this.DataList1.DataBind();
string sql = "select A.TDZH,A.TDDZ,A.QSSJ,A.ZZSJ,A.TDZT,A.KZSJ,A.TDYT,A.TDMJ,A.YSMJ,A.MSMJ,A.FDJM,A.LSJM,A.TDDJ,A.YNSE FROM FDC_TDSSYCJ_CTD 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)
{
后面还有 155 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。