nsrxx.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 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_nsrxx : 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_nsrxx.bmlx = a[3];
        cx_nsrxx.bmmc = a[2];
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (this.TextBox1.Text != "")
        {
            if (cx_nsrxx.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 select = "SELECT * FROM V_NSRXX WHERE NSRM LIKE '%" + this.TextBox1.Text.Trim() + "%'";
            ds = DBCommand.GetDataSet(select);
            this.GridView1.DataSource = ds.Tables[0];
            this.GridView1.DataBind();

            //按纳税人名称
        }
        if (this.RadioButtonList1.SelectedValue == "1")
        {
后面还有 50 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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