摘要:
asp.net MVC 如何在aspx页面的head标签里输出Key为常量的ViewData呢?下面是有效的:<meta name="description" content="<%:ViewData["PageDescription"]%>" />直接放在head里,有效的:<%:ViewData[BaseConstant.STR_VIEWDATA_PAGEDESCRIPTION]%>下面使用了常量来代替"PageDescription"常量定义:public const st 阅读全文
2011年11月8日 #
摘要:
MsDepSvc.exe 站用了80端口1. Issue descriptionI change the IIS 5.1(xp) port from 8080 to 80(1)The website is is unavailable and has error mark.got to he event view and find the following error:The service could not bind instance 1. The data is the error code. For additional information specific to this me 阅读全文