<appSettings>
<!-- report data source-->
<add key ="RMAReportDataSource" value ="Provider=MSOLAP.2;Persist Security Info=True;Data Source=xxx;Initial Catalog=xx;Client Cache Size=25;Auto Synch Period=10000"/>
</appSettings>
前台:<!-- report data source-->
<add key ="RMAReportDataSource" value ="Provider=MSOLAP.2;Persist Security Info=True;Data Source=xxx;Initial Catalog=xx;Client Cache Size=25;Auto Synch Period=10000"/>
</appSettings>
<x:ConnectionString><asp:Literal ID="LiteralDataSource" runat="server" Text="<%$ appSettings:RMAReportDataSource%>" /></x:ConnectionString>