此语句不起作用,如果没有上传图像,我想显示默认图像请帮助
@if (latestrow.thumb == null)
{
<img src="~/Images/no-pic.gif"/>
}
else
{
<img src="@latestrow.thumb"/>
}