Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

在 Microsoft Visual Web Developer 中,您可以使用 [產生本機資源] 工具來產生 ASP.NET 2.0 Web 網頁的本機資源檔。 當您執行這項操作時,就可以刪除此頁面上的任何內嵌程式碼區塊。例如,您必須Panel控制項,ASP.NET 2.0 Web 網頁上。 面板控制項的程式碼類似下列:

  <form id="form1" runat="server">    <asp:Panel runat="server" ID="disablePanel">       The current server time is: <%=DateTime.NOW.ToString() %>    </asp:Panel>  </form>

然後,您在 [Visual Web Developer 中中開啟此網頁,,然後按一下 [工具] 功能表上的 [產生本機資源。 不過,下列字串,將從程式碼就會消失: < %=DateTime.NOW.ToString() %> 因此,如果您檢視這一頁的 [原始碼] 檢視時,程式碼會類似下列:

<form id="form1" runat="server">    <asp:Panel runat="server" ID="disablePanel" meta:resourcekey="Panel1Resource1">       The current server time is:     </asp:Panel></form>

解決方案

Hotfix 取代資訊

此 hotfix 之後 KB981201,其中包含先前包括在 KB969364 中的所有修正程式已經取代對應至 KB969364 的 hotfix。 若要修正 KB969364 中所述的問題,您應該使用 hotfix KB981201。如需詳細資訊,按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

981201 Hotfix 是供 ASP.NET 2.0 可讓支援延伸保護   

狀態

Microsoft 已確認<適用於>一節中所列的 Microsoft 產品確實有上述問題。

其他相關資訊

如需內嵌的程式碼區塊中的 ASP.NET Web 網頁的詳細資訊,請造訪下列 Microsoft 網站:

http://msdn.microsoft.com/en-us/library/ms178135.aspx如需有關資源檔中的 ASP.NET Web 網頁的詳細資訊,請造訪下列 Microsoft 網站:

http://msdn.microsoft.com/en-us/library/ms247246.aspx

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×