karthik80c
asked on
why do we need to add dollar sign on asp datasource tag <% $ ConnectionStirngs : Con %>
Hi experts ,
Why the dollar symbol is needed on ASP- SqlDatasource tag and whats the use of it
Otherwise throws error as
Thanks Experts
Why the dollar symbol is needed on ASP- SqlDatasource tag and whats the use of it
<asp:SqlDataSource ID="Dropdown" runat="server" ConnectionString="<%$ ConnectionStrings:godaddyConnectionString %>" SelectCommand="select [Name] from [agent]"></asp:SqlDataSource>
Otherwise throws error as
Format of the initialization string does not conform to specification starting at index 0
Thanks Experts
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.