📄 tag_custom.aspx.cs
字号:
/**********************************************************************************
* Description:
* MemberVariable:
* Functions:
* Modify information:
* 2008-8-5 New DuYaoHui Create Class
*
* ********************************************************************************/
using System;
namespace ROYcms.UI.Admin
{
public partial class Administrator_tag_tag_Custom : ISP_administrator_page
{
ROYcms.SystemBll.ROYcms_CustomTag BLL = new ROYcms.SystemBll.ROYcms_CustomTag();
ROYcms.SystemModel.ROYcms_CustomTag Model = new ROYcms.SystemModel.ROYcms_CustomTag();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request["del"] == "del")
{
BLL.Delete(Convert.ToInt32(Request["id"]));
}
BIND();
}
}
protected void Button_addTag_Click(object sender, EventArgs e)
{
Model.TAG = TextBox_tag.Text.Trim();
Model.TAG_content = TextBox_tag_content.Text.Trim();
Model.TAG_name = TextBox_TagName.Text.Trim();
BLL.Add(Model);
BIND();
}
void BIND()
{
Repeater1.DataSource = BLL.GetAllList();
Repeater1.DataBind();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -