1
值如何读取我的web.config如何阅读从web.config中
<appSettings>
<add key="serviceRefPath" value="http://localhost/TempWS/MachineHistoryWS.asmx"/>
</appSettings>
应用程序键serviceRefPath钥匙插进我的.aspx页面中
<asp:ScriptManager ID="sm" runat="server">
<Services>
<asp:ServiceReference Path="serviceRefPath here" />
</Services>
</asp:ScriptManager>
是否有可能访问密钥?先谢谢你。