moudle/ascx/Cha.ascx.cs

(开头部分) 19KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.Data.SqlClient;
//该源码下载自www.51aspx.com(51aspx.com)


public partial class moudle_ascx_Cha : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {


        this.DropDownList3.Visible = false;
        this.TextBox1.Visible = false;
        this.TextBox2.Visible = false;
        this.TextBox3.Visible = false;
        this.Label1.Visible = false;
        this.Label2.Visible = false;
        this.Label3.Visible = false;

    }

    protected void DropDownList2_SelectedIndexChanged1(object sender, EventArgs e)
    {
        this.Label1.Text = "";
        this.Label2.Text = "";
        this.Label3.Text = "";
        SqlData sd = new SqlData();


        if (DropDownList2.SelectedValue.ToString() == "all")
        {
            this.Label3.Visible = false;
            this.DropDownList3.Visible = false;
            this.TextBox1.Visible = false;
            this.TextBox2.Visible = false;
            this.TextBox3.Visible = false;
            this.Label1.Visible = false;
            this.Label2.Visible = false;


        }
        else if (DropDownList2.SelectedValue.ToString() == "xl" || DropDownList2.SelectedValue.ToString() == "xl1")
        {
            if (DropDownList2.SelectedItem.ToString() == "按商品统计")
            {
                this.Label3.Text = "商品";

                SqlDataReader sdr = sd.ExceRead("select k_name from gy_KName");

                this.DropDownList3.DataSource = sdr;
后面还有 369 行代码,购买后查看完整代码

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

AI 解读 AI

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

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