Value cannot be null or empty. 参数名: contentPath

代码:<img src="@Url.Content(item.ThumbPath)" width="160" height="250" />

提示错误信息:Value cannot be null or empty. 参数名: contentPath

原因:item.ThumbPath为空或NULL。

posted @ 2014-11-06 11:56  屌丝大叔的笔记  阅读(3312)  评论(0编辑  收藏  举报