7.5.1.2 Adding the HTML Helper Method; Listing 7-19. Adding the HTML Helper Method Namespace to the Views/web.config File

This commit is contained in:
Jason Zhu 2021-09-08 15:20:17 +10:00
parent 20f1cf9dec
commit cb3d151c6b

View File

@ -17,6 +17,7 @@
<add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" /> <add namespace="System.Web.Routing" />
<add namespace="SportsStore.WebUI" /> <add namespace="SportsStore.WebUI" />
<add namespace="SportsStore.WebUI.HtmlHelpers"/>
</namespaces> </namespaces>
</pages> </pages>
</system.web.webPages.razor> </system.web.webPages.razor>