您的位置:首页 > 编程语言

cnblogs插入代码时,出错了。

2011-02-12 10:49 176 查看
刚才在写博客文章时,需要粘帖C#代码,点确认时,它出错了。想粘帖的代码如下:

using System;
using System.Web;

/// <summary>
/// Summary description for Class1
/// </summary>
public class Class1
{
public Class1()
{
//
// TODO: Add constructor logic here
//
}

public void t()
{
HttpContext.Current.Session["sessionkey"] = "namespace";
HttpContext.Current.Response.Write("lost namespace.");
HttpContext.Current.Server.MapPath(@"z:\t\");
}
}



点上图“code”按钮,粘帖完代码,点“确定”铵钮时,出现下面错误:



视频下载:

文件格式:.wmv;大小:673KB;长度:00:00:22

下载地址:http://download.cnblogs.com/insus/Miscellaneous/cnblogsPasteCodeError.rar
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: