string[] imgname;
MODEL.Strategy modelMenu = bllMenu.GetModel(int.Parse(strId));
imgname = getPicUrl.getPicUrls(modelMenu.SContent).Split(‘|‘);
foreach (string c in imgname)
{
ImageHelper.DeleteImg(HttpContext.Current.Server.MapPath(c));
}
kindeditor文本编辑器删除文本中图片路径出错 HttpContext.Current.Server.MapPath(c)要使用相对路径
kindeditor文本编辑器删除文本中图片路径出错,布布扣,bubuko.com
原文:http://www.cnblogs.com/lxclqy/p/3791529.html