62,041
社区成员
发帖
与我相关
我的任务
分享
<configuration>
<connectionStrings>
<add name="NorthwindConnectionString1"
connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=Northwind;"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="copyright" value="(c)Copyright 2004 Northwind Traders"/>
</appSettings>
<!-- additional settings -->
</configuration>
<asp:Label id="label1" runat="server" text="<%$ Resources: Messages, ThankYouLabel %>" />
<data name="ThankYouLabel"><value>Thank you very much!</value></data>
<asp:SqlDataSource ID="SqlDataSource1" Runat="server"
SelectCommand="SELECT * FROM [Employees]"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString1 %>">
</asp:SqlDataSource>