EasyShop/PersonCenter/Member_Feedback.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Net;
using MyModels;
using ExeSql;
using BLL;
using Easy.COMMON;
namespace EasyShop.PersonCenter
{
    public partial class Member_Feedback : System.Web.UI.Page
    {
        public string jsString = string.Empty;
        public int Count = 0;

        // Methods
        private void Bind()
        {
            TB_MC_FeekBack tmf = new TB_MC_FeekBack();
            string userId = conn.MyCookie.getCookie("UserID");
            tmf.UserID = userId;
            DataSet ds=tmf.GetList(" UserID='"+userId+"'");
            rptList.DataSource = ds;
            rptList.DataBind();
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.tbxBody.Text))
            {
                this.labMsg.Text = "请输入内容";
            }
            else
            {
                TB_MC_FeekBack tmf = new TB_MC_FeekBack();
                tmf.UserID = conn.MyCookie.getCookie("UserID");
                tmf.Content = StaticFunction.CheckSql2(this.tbxBody.Text);
                tmf.IP = StaticFunction.GetIP();
                tmf.Type = "1";
                tmf.AddDate = DateTime.Now;
                int k = tmf.AddData();
                if (k > 0)
                {
                    jsString += "dlg.Msg.Cor(\"操作成功!请耐心等待官方回复。\");setTimeout('Go(\"Member_Feedback\")', 2000);";
                }
                else
                {
                    jsString += "dlg.Msg.Err(\"删除失败,请稍后重试!\");";
                }
            }
        }


        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (!base.IsPostBack)
后面还有 8 行代码,购买后查看完整代码

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

AI 解读 AI

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

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