私はMVC1から次のHTMLを持っています。MVC 3 - img alt HTMLタグ?
<img alt="<%= Html.Encode(item.Name) %>" src='<%= this.Url.Action("Image",
"Products") + "/" + item.ID.ToString()%>' width="64" height="64" />
がどのように私はMVC 3のためにこれを使用することになり、私は...それは働いていない、次の事前に
<img alt=" @Html.Encode(item.Name)" src='<@this.Url.Action(("Image",
"Products")) + "/" + Picture1.SubProductCategoryID.ToString()>'
width="64" height="64" />
おかげ
私はあなたがカミソリのためではなく、MVC 3 – smartcaveman