WebApp/Admin/Default.aspx.cs
(完整代码) 1KBusing 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;
namespace RM.WebApp.Admin
{
public partial class Default : AdminBasic
{
protected DataTable Dview;
protected void Page_Load(object sender, EventArgs e)
{
//Common.Language.strLang = "CN";
//if (!string.IsNullOrEmpty(Request.QueryString["lang"]))
// Common.Language.strLang = Request.QueryString["lang"];
//BLL.SystemConfig.InitConfig(Server.MapPath(string.Format("lang/{0}.xml", Common.Language.strLang)));
//Page.Title = RM.BLL.SystemConfig.WebConfig.Title + " - " + Common.Language.Text["Title_ControlPanel"];
lblTitle.Text = RM.BLL.SysConfig.WebConfig.Title;
RM.BLL.Module ModuleBLL = new RM.BLL.Module();
rptRoot.DataSource = ModuleBLL.GetRootList();
rptRoot.DataBind();
}
protected string iniChild(object mRoot)
{
int root = Convert.ToInt32(mRoot);
RM.BLL.Module ModuleBLL = new RM.BLL.Module();
Dview = ModuleBLL.GetList("FlagMenu=1 AND Depth =1 AND RootID=" + root);
return "";
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。