EasyShop/siteAdmin/Goods/BrandManage.aspx.cs
(完整代码) 1KBusing 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 BrandManage : System.Web.UI.Page
{
DbConn conn = new DbConn();
public string jsString = "";
protected void Page_Load(object sender, EventArgs e)
{
//Ftion.Function.CheckState();
if (!IsPostBack)
{
LoadData();
}
}
private void LoadData()
{
RpProduct.DataSource = CompanyInfo.GetBrandClassList();
RpProduct.DataBind();
}
protected void RpProduct_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandName == "Del")
{
if (CompanyInfo.DelBrandMes((e.CommandArgument.ToString())))
{
//Common.ShowMessage.Show(Page, "seuss", "分类信息删除成功...", "myProductClass.aspx");
//jsString = "dlg.Msg.Cor(\"删除成功\");";
//Response.Redirect("ProductClass.aspx");
jsString = "dlg.Msg.Cor(\"删除成功\");setTimeout('Go(\"BrandManage.aspx\")', 2000);";
}
else
{
//jsString = "dlg.Msg.Err(\"删除成功\");";
//Response.Redirect("ProductClass.aspx");
jsString = "dlg.Msg.Err(\"删除失败\");setTimeout('Go(\"BrandManage.aspx\")', 2000);";
//Common.ShowMessage.Show(Page, "seuss", "分类信息删除失败,请重试或联系技术人员...", "myProductClass.aspx");
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。