刚才在写博客文章时,需要粘帖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
點擊查看更多內容
為 TA 點贊
評論
評論
共同學習,寫下你的評論
評論加載中...
作者其他優質文章
正在加載中
感謝您的支持,我會繼續努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進行掃碼打賞哦