• 大小: 2.69MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-07
  • 语言: 其他
  • 标签: 会员系统  

资源简介

超市会员积分管理系统可以实现会员、会员卡、会员积分、商品的统一管理。以会员积分为枢纽,联系会员与商品,通过会员卡打折,购物得积分等方式来吸引顾客。系统具有完善的日志功能,可以详细记录用户的各种操作记录

资源截图

代码片段和文件信息

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;

public partial class index : System.Web.UI.Page
{
    public string str_title = ““;//网站标题
    public string str_print = ““;//菜单信息
    public string str_print_menu2 = ““;//二级菜单信息
    User user = new User();

    protected void Page_Load(object sender EventArgs e)
    {
        if (Session[“user“] == null)
        {
            Response.Write(“ript language=‘javascript‘>window.location.href=‘exception/nologin.htm‘; ript>“);
        }
        else
        {
            user = (User)Session[“user“];

            if (!Page.IsPostBack)
            {
                loading();
                loadingMenu();
            }

        }

    }

    protected void loading()
    {
        try
        {
            if (ConfigurationManager.AppSettings[“title“] != null)
            {
                str_title = ConfigurationManager.AppSettings[“title“].ToString();
            }

            labUser.Text = “ 操作员:“ + user.Username + “【“ + user.Userid + “】“;
            labDep.Text = “ 部门:“ + user.Depname;
            labRole.Text = “ 角色:“ + user.Rolename;


           

        }
        catch (Exception exc)
        {
            Response.Write(“ript>alert(‘加载数据时发生异常,异常原因:“ + exc.Message.ToString() + “‘);ript>“);
        }

    }

    //加载菜单
    protected void loadingMenu()
    {
        try
        {
            QX1DAO qx1dao = new QX1DAO();
            RoleQX roleqx;
            QX2DAO qx2dao = new QX2DAO();
            RoleQXDAO roleqxdao = new RoleQXDAO();
            DataTable dt_qx1 = new DataTable();
            DataTable dt2 = new DataTable();
            DataTable dt3 = new DataTable();
            string[] str_qx1_temp = new string[100];//声明一个数组用于存放一级菜单编号
            string str_qx_temp = ““;
            string[] splictqx;

            roleqx = roleqxdao.getRoleQXByRoleId(user.Roleid);
            if (roleqx != null)
            {
                str_qx_temp = roleqx.Qxid;
            }

            splictqx = Comm.getSplictString(str_qx_temp ‘;‘);

            string str_temp = ““;

            for (int t = 0; t < splictqx.Length; t++)
            {
                str_temp = str_temp + splictqx[t].Substring(0 2) + “;“;
            }

            dt_qx1 = qx1dao.list_2(“1“ str_temp);

            int i = 0;
            if (dt_qx1.Rows.Count > 0)
            {
                //str_print = ““;
                foreach (DataRow row in dt_qx1.Rows)
                {
                    str_qx1_temp[i] = row[“qx1id“].ToString();
                    str_print = str_print + “click=\“javascript:border_l

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3417  2010-03-30 18:51  chaoshihuiyuan\CSHYJF_Manag\App_Code\Comm.cs

     文件      22332  2010-04-23 14:05  chaoshihuiyuan\CSHYJF_Manag\App_Code\CommValidate.cs

     文件       1848  2010-04-09 13:41  chaoshihuiyuan\CSHYJF_Manag\App_Code\Controlbase.cs

     文件       2501  2010-03-25 17:13  chaoshihuiyuan\CSHYJF_Manag\App_Code\Dep.cs

     文件       8088  2010-03-25 17:22  chaoshihuiyuan\CSHYJF_Manag\App_Code\DepDAO.cs

     文件       2362  2010-04-11 19:32  chaoshihuiyuan\CSHYJF_Manag\App_Code\Gg.cs

     文件      10649  2010-04-11 21:13  chaoshihuiyuan\CSHYJF_Manag\App_Code\GgDAO.cs

     文件       3233  2010-03-30 15:01  chaoshihuiyuan\CSHYJF_Manag\App_Code\Goods.cs

     文件      17918  2010-04-23 14:35  chaoshihuiyuan\CSHYJF_Manag\App_Code\GoodsDAO.cs

     文件       3823  2010-04-30 09:36  chaoshihuiyuan\CSHYJF_Manag\App_Code\GoodsSell.cs

     文件      18088  2010-04-30 11:01  chaoshihuiyuan\CSHYJF_Manag\App_Code\GoodsSellDAO.cs

     文件       3879  2010-04-07 20:05  chaoshihuiyuan\CSHYJF_Manag\App_Code\HY.cs

     文件       8318  2010-04-23 14:52  chaoshihuiyuan\CSHYJF_Manag\App_Code\HYDAO.cs

     文件       2468  2010-04-04 08:28  chaoshihuiyuan\CSHYJF_Manag\App_Code\HYK.cs

     文件       8116  2010-04-04 09:21  chaoshihuiyuan\CSHYJF_Manag\App_Code\HYKDAO.cs

     文件       3378  2010-04-11 17:24  chaoshihuiyuan\CSHYJF_Manag\App_Code\JFJL.cs

     文件      15039  2010-04-11 17:28  chaoshihuiyuan\CSHYJF_Manag\App_Code\JFJLDAO.cs

     文件       2309  2010-04-13 07:55  chaoshihuiyuan\CSHYJF_Manag\App_Code\Log.cs

     文件       6515  2010-04-13 07:56  chaoshihuiyuan\CSHYJF_Manag\App_Code\LogDAO.cs

     文件       5193  2010-03-25 17:04  chaoshihuiyuan\CSHYJF_Manag\App_Code\News.cs

     文件       2361  2010-03-25 17:12  chaoshihuiyuan\CSHYJF_Manag\App_Code\NewsClass.cs

     文件      11442  2010-03-25 17:12  chaoshihuiyuan\CSHYJF_Manag\App_Code\NewsClassDAO.cs

     文件      24791  2010-03-25 17:12  chaoshihuiyuan\CSHYJF_Manag\App_Code\NewsDAO.cs

     文件       2343  2010-03-25 17:27  chaoshihuiyuan\CSHYJF_Manag\App_Code\QX1.cs

     文件       9622  2010-03-25 18:30  chaoshihuiyuan\CSHYJF_Manag\App_Code\QX1DAO.cs

     文件       2825  2010-03-25 18:32  chaoshihuiyuan\CSHYJF_Manag\App_Code\QX2.cs

     文件      11610  2010-03-25 18:36  chaoshihuiyuan\CSHYJF_Manag\App_Code\QX2DAO.cs

     文件       2106  2010-03-30 07:56  chaoshihuiyuan\CSHYJF_Manag\App_Code\Role.cs

     文件       7568  2010-03-30 07:58  chaoshihuiyuan\CSHYJF_Manag\App_Code\RoleDAO.cs

     文件        977  2010-03-25 17:04  chaoshihuiyuan\CSHYJF_Manag\App_Code\RoleQX.cs

............此处省略930个文件信息

评论

共有 条评论