Help.Web/Admin/KeyWordAdd.aspx.cs
(完整代码) 1KB//===========================================================
//== (c)2007 24xN Inc. ==
//== QQ:6458450,Email:qwsf01115@163.com ==
//== Site:http://www.24xn.com ==
//== 论坛:http://bbs.24xn.com ==
//== Code By Xi.Deng ==
//== 版权所有 ==
//===========================================================
using 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;
using Help.Model;
public partial class Admin_KeyWordAdd : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.CacheControl = "no-cache";
LoginCheck.Check();
Help.BLL.Help h = new Help.BLL.Help();
CopyrightInfo.InnerHtml = h.getCopyRight();
}
protected void Button1_Click(object sender, EventArgs e)
{
Help.Model.KeyInfo ki = new KeyInfo();
ki.ID = 0;
ki.KeyName = KeyName.Text;
ki.KeyContent = ContentTextBox.Content;
Help.BLL.Help h = new Help.BLL.Help();
int result = h.AddKeyWord(ki);
if (result == 1)
WebLog.PageRight("添加关键字信息成功!", "");
else
WebLog.PageError("添加关键字信息失败!", "");
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
