0
我有類似於"This fruit is {0} color, and have stock of {1}."
的資源在MVC視圖中如何替換{0} and {1}
與red and 5
?如何在asp.net視圖中替換多個資源佔位符?
謝謝你的任何建議。
我有類似於"This fruit is {0} color, and have stock of {1}."
的資源在MVC視圖中如何替換{0} and {1}
與red and 5
?如何在asp.net視圖中替換多個資源佔位符?
謝謝你的任何建議。
我發現自己。 string.Format(Resourcekey,"red",5)