Reputation: 1022
I have a code section below :
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:MainConnStr %>"
SelectCommand="SELECT [au_id], [au_lname], [au_fname], [state] FROM [authors]" />
What is meaning of The $ character in value of ConnectionString attribute?
Upvotes: 2
Views: 104
Reputation: 3431
It's referred to as an ASP.NET Expression. You can pull config information such as ConnectionStrings or AppSettings as well as Resources.
Upvotes: 6
Reputation: 129832
They're expressions, read about them here
Read about all inline tags here
Upvotes: 1