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。

原文地址:https://www.cnblogs.com/subendong/p/4078369.html