📄 dtree.aspx.cs
字号:
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 BLL;
public partial class DATA_DTree : System.Web.UI.Page
{
public string Jsons="";
protected void Page_Load(object sender, EventArgs e)
{
GetDTreeJSON();
}
public void GetDTreeJSON()
{
NavBLL navbll = new NavBLL();
string id = Request.Form["id"];
if(id==null)
{
Jsons = navbll.GetDtreeInfos(1);
}
else if (id != null)
{
int parentid = int.Parse(id);
Jsons = navbll.GetDtreeInfos(parentid);
}
else
{
Response.Write("success:false");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -