EasyShop/siteAdmin/Goods/ProductChildClass.aspx.cs

(开头部分) 4KB

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

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OpSql;
using Ftion;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using conn;
using System.Linq;
using System.Text;

namespace Mall.siteAdmin.Goods
{
    public partial class ProductChildClass : System.Web.UI.Page
    {

        DbConn conn = new DbConn();
        public string jsString = "";
        public string sltString = "";
        public string SidString = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            //Ftion.Function.CheckState();
            SidString = Common.GetMes.GetRequestQuery(Request, "SID");
            if (!IsPostBack)
            {
                LoadData();
            }
        }
        private void LoadData()
        {
            if ("" + Request.QueryString["CID"] == "" | ("" + Request.QueryString["CID"]).Length == 0)
            {
                jsString = "dlg.Msg.Err(\"参数非法\");";
                Response.Redirect("ProductClass.aspx");
            }
            else
            {
                try
                {
                    int myid = int.Parse(Request.QueryString["CID"].ToString());
                    RpProduct.DataSource = CompanyInfo.GetProChildClassList(myid);
                    RpProduct.DataBind();
                    conn.open();
                    if ("" + Request.QueryString["SID"] == "" | ("" + Request.QueryString["SID"]).Length == 0)
                    {

                    }
                    else
                    {
                        int sid = int.Parse(Request.QueryString["SID"].ToString());
                        SqlDataReader reader = CompanyInfo.GetProChildClassList(sid);
                        while (reader.Read())
                        {
                            string ID = reader["ID"].ToString();
                            string ClassName = reader["ClassName"].ToString();
                            if (myid.ToString() == ID)
后面还有 59 行代码,购买后查看完整代码

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

AI 解读 AI

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

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