tds.aspx.cs

(开头部分) 8KB

这里只显示每个文件的开头 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 cx_tds : System.Web.UI.Page
{
    public static string bmlx = "";
    public static string bmmc = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        string[] a = Session["login"].ToString().Trim().Split('|');
        cx_tds.bmlx = a[3];
        cx_tds.bmmc = a[2];

        //if (a[1].Trim() == "0")
        //{
        //    Response.Redirect("~/QX.htm");
        //}
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (this.TextBox1.Text != "")
        {
            if (cx_tds.bmlx == "B")
            {
                Bbind();
            }
            else
            {
                //如果是J
                this.Jbind();
            }
        }
        else
        {
            Response.Write("<script>alert('请输入有效数据')</script>");
        }
    }

    private void Bbind()
    {
        DataSet ds = new DataSet();
        if (this.RadioButtonList1.SelectedValue == "0")
        {



            string selectY = "SELECT * FROM FDC_TDSSYCJ_YTD WHERE FDC_TDSSYCJ_YTD.DJBH IN( SELECT DJBH FROM FDC_TDSSYCJ WHERE NSSB='" + this.TextBox1.Text.Trim() + "')";
            ds = DBCommand.GetDataSet(selectY);
            this.Y.DataSource = ds.Tables[0];
            this.Y.DataBind();
后面还有 140 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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