foreach (var product in item.ProductCollections)
{
sb.AppendFormat(" <a href=\"{0}\" target=\"_blank\" >{1}</a>x{2},"
, "?productid=" + product.ProductId
, product.Title, product.Count);
}
<a href="?productid=1& amp;quot; target="_blank" >新疆最好吃切糕水果拼盘< /a>x1, <a href="?productid=2" target=& amp;quot;_blank" >阿富汗铁西瓜2</a>x2;
这样一来,
@html.raw()