WEB/manager/news_content_detail.aspx.cs
(开头部分) 14KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
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 shop.Model;
using shop.BLL;
using System.IO;
using shop.Tools;
public partial class administrator_news_content_detail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlCategory_load();
string action = Request.QueryString["action"];
string type = Request.QueryString["type"];
int categoryId = 0;
if (type == "sitepost")
categoryId = 4;
else if (type == "help")
categoryId = 3;
else if (type == "news")
categoryId = 2;
else if (type == "secret")
categoryId = 5;
else if (type == "statement")
categoryId = 6;
else if (type == "integrate")
categoryId = 7;
else if (type == "recruit")
categoryId = 13;
if (action == "update")
{
NewsContentBusiness newsContentBusiness = new NewsContentBusiness();
int id = int.Parse(Request.QueryString["Id"]);
btnReset.Visible = false;
btnDelete.Visible = true;
btnSave.Visible = true;
btnNext.Visible = true;
btnPrev.Visible = true;
btnReset2.Visible = false;
btnDelete2.Visible = true;
btnSave2.Visible = true;
btnNext2.Visible = true;
btnPrev2.Visible = true;
if (newsContentBusiness.IsHasNext(id,categoryId))
{
btnNext.Enabled = false;
btnNext2.Enabled = false;
}
后面还有 313 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
