【发布时间】:2013-09-22 18:33:42
【问题描述】:
我正在学习如何使用 Visual Studio Express 2012。为此,我将常规网站(个人)转换为 ASP.NET C# 网站。但是,我遇到了一个我无法解决的问题。 ?Length=4 被自动附加到我的 URL 中,但我找不到源。
我的Html.ActionLink代码如下:
<div class="navpane">@Html.ActionLink(" ", "About", "Home", new {style="background: url('../images/sticky-who.png') no-repeat; display:block; height:150px; width:150px;"})</div>
<div class="navpane">@Html.ActionLink(" ", "Resume", "Home", new {style="background: url('../images/sticky-resume.png') no-repeat; display:block; height:150px; width:150px;"})</div>
我被难住了。有人有线索吗?
【问题讨论】:
-
对了,我这里得到了添加图片的代码:stephenwalther.com/archive/2009/03/03/…
标签: c# asp.net html visual-studio-2012 web