send_comment.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Meiqi.BusinessLogicLayer;
using Meiqi.CommonComponent;
using Meiqi.DataAccessHelper;

public partial class send_comment : System.Web.UI.Page
{
    public string strSql,memberAccount;
    public int productID;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //显示产品大类
             try
            {
                int productID = -1;
                if (Request.QueryString["ProductID"] != "")
                    productID = Convert.ToInt32(Request.QueryString["ProductID"]);
                this.HiddenProductID.Value = productID.ToString();

            }
            catch
            {
                Response.Write("发生错误.");
                Response.End();
            }
        }



    }


    protected string cutstr(string strChar, int intLength)
    {
        //取得自定义长度的字符串
        if (strChar.Length > intLength)
        {
            return strChar.Substring(0, intLength);
        }
        else
        {
            return strChar;
        }
    }

后面还有 35 行代码,购买后查看完整代码

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

AI 解读 AI

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

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