• 大小: 0.64M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: KindEditor  asp.net  asp  .NET  NET  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class ShowNews : System.Web.UI.Page
{
    protected void Page_Load(object sender EventArgs e)
    {
        if (!IsPostBack)
        {
            int id = 1;
            if (Request.QueryString[“id“] != null)
            {
                id = Convert.ToInt32(Request.QueryString[“id“]);
            }
            string sql = “select content from news where id=“+id;
            DataTable dt = AccessDAL.OleDbHelper.ExecuteDataTable(sql);
            string content = dt.Rows[0][0].ToString();
            Response.Write(content);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-11-19 09:55  AspNetDemo\
     目录           0  2013-11-19 09:54  AspNetDemo\App_Code\
     文件        7193  2013-11-17 15:16  AspNetDemo\App_Code\OleDbHelper.cs
     目录           0  2013-11-19 09:56  AspNetDemo\App_Data\
     文件      303104  2013-11-19 09:56  AspNetDemo\App_Data\testKindEditor.mdb
     目录           0  2013-11-17 14:48  AspNetDemo\Bin\
     文件       49664  2013-10-08 23:08  AspNetDemo\Bin\LitJSON.dll
     文件          88  2013-11-17 14:48  AspNetDemo\Bin\LitJSON.dll.refresh
     文件        1765  2013-04-06 15:44  AspNetDemo\Global.asax
     文件         432  2013-11-17 15:36  AspNetDemo\ShowNews.aspx
     文件         753  2013-11-17 15:52  AspNetDemo\ShowNews.aspx.cs
     文件        1195  2013-11-17 15:41  AspNetDemo\UseKindEditor.aspx
     文件        1001  2013-11-19 09:52  AspNetDemo\UseKindEditor.aspx.cs
     目录           0  2013-11-17 14:25  AspNetDemo\editor\
     目录           0  2013-11-19 09:57  AspNetDemo\editor\attached\
     文件      179780  2013-10-08 23:08  AspNetDemo\editor\kindeditor-all-min.js
     文件      317228  2013-10-08 23:08  AspNetDemo\editor\kindeditor-all.js
     文件       94366  2013-10-08 23:08  AspNetDemo\editor\kindeditor-min.js
     文件      166289  2013-10-08 23:08  AspNetDemo\editor\kindeditor.js
     目录           0  2013-11-17 14:25  AspNetDemo\editor\lang\
     文件        9591  2013-10-08 23:08  AspNetDemo\editor\lang\ar.js
     文件        7979  2013-10-08 23:08  AspNetDemo\editor\lang\en.js
     文件        8850  2013-10-08 23:08  AspNetDemo\editor\lang\ko.js
     文件        8488  2013-10-08 23:08  AspNetDemo\editor\lang\zh_CN.js
     文件        8388  2013-10-08 23:08  AspNetDemo\editor\lang\zh_TW.js
     目录           0  2013-11-17 14:25  AspNetDemo\editor\plugins\
     目录           0  2013-11-17 14:25  AspNetDemo\editor\plugins\anchor\
     文件        1513  2013-10-08 23:08  AspNetDemo\editor\plugins\anchor\anchor.js
     目录           0  2013-11-17 14:25  AspNetDemo\editor\plugins\autoheight\
     文件        1384  2013-10-08 23:08  AspNetDemo\editor\plugins\autoheight\autoheight.js
     目录           0  2013-11-17 14:25  AspNetDemo\editor\plugins\baidumap\
............此处省略230个文件信息

评论

共有 条评论