摘要:
获取网站根目录的方法有几种如:Server.MapPath(Request.ServerVariables["PATH_INFO"]) Server.MapPath("/") Server.MapPath("")Server.MapPath(".") Server.MapPath("../") Server.MapPath("..") Page.Request.Applica... 阅读全文
摘要:
<appSettings> <add key="connect" value="Data source=127.0.0.1;initial catalog=master;user id=sa; password=sa"/>webconfig配置: </appSettings> <connectionStrings> <add name="one... 阅读全文