WebUI/AdminM/Article/ek_articleManage.aspx.cs
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HModel;
using Bll;
using System.Data;
using System.IO;
using System.Configuration;
using WebBase;
using Common;
using BLL;
namespace WebUI.AdminM
{
public partial class ek_articleManage : PageBase
{
public string width = "100", height = "100";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
siteconfig bll = new siteconfig();
Model.siteconfig model = bll.loadConfig(Utils.GetXmlMapPath(EkKeys.FILE_SITE_XML_CONFING));
width = model.thumbnailwidth.ToString();
height = model.thumbnailheight.ToString();
if (Request.QueryString["cid"] != null)
{
DataTable dt = new DataTable();
dt.Columns.AddRange(
new DataColumn[]{
new DataColumn("id"),
new DataColumn("name"),
});
string cid = Request.QueryString["cid"].ToString();
ek_category cate = Bll_ek_category.GetEntityById(cid);
txt_channel_id.Text = cate.title;
channelId.Value = cate.id.ToString();
DataRow dr = dt.NewRow();
dr["id"] = cate.id;
dr["name"] = cate.title;
dt.Rows.Add(dr);
List<ek_category> list = Bll_ek_category.GetEntityListByWhere(ek_category._.parent_id == cid);
GetTree(list, dt);
txt_category_id.DataSource = dt;
txt_category_id.DataTextField = "name";
txt_category_id.DataValueField = "id";
后面还有 390 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。